2018-07-11 22:47:44 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
bot:
|
|
|
|
build: bot
|
|
|
|
depends_on:
|
|
|
|
- db
|
2018-07-16 18:53:41 +00:00
|
|
|
- influx
|
2018-07-11 22:47:44 +00:00
|
|
|
environment:
|
2018-07-14 19:39:51 +00:00
|
|
|
- CLIENT_ID
|
2018-07-11 22:47:44 +00:00
|
|
|
- TOKEN
|
2018-07-17 20:09:20 +00:00
|
|
|
restart: always
|
2018-07-11 22:47:44 +00:00
|
|
|
db:
|
|
|
|
image: postgres:alpine
|
|
|
|
volumes:
|
2018-07-14 19:07:25 +00:00
|
|
|
- "db_data:/var/lib/postgresql/data"
|
2018-07-11 22:47:44 +00:00
|
|
|
restart: always
|
2018-07-16 18:53:41 +00:00
|
|
|
influx:
|
|
|
|
image: influxdb:alpine
|
|
|
|
volumes:
|
|
|
|
- "influx_data:/var/lib/influxdb:Z"
|
|
|
|
restart: always
|
|
|
|
grafana:
|
|
|
|
build: grafana
|
|
|
|
depends_on:
|
|
|
|
- influx
|
|
|
|
ports:
|
2018-07-16 18:54:46 +00:00
|
|
|
- "2938:3000"
|
2018-07-20 23:22:22 +00:00
|
|
|
environment:
|
|
|
|
GF_SECURITY_ADMIN_USER: "${GRAFANA_USERNAME}"
|
|
|
|
GF_SECURITY_ADMIN_PASSWORD: "${GRAFANA_PASSWORD}"
|
2018-07-16 18:53:41 +00:00
|
|
|
restart: always
|
|
|
|
|
2018-07-11 22:47:44 +00:00
|
|
|
volumes:
|
2018-07-16 18:53:41 +00:00
|
|
|
db_data:
|
|
|
|
influx_data:
|