version: '3' services: bot: build: bot depends_on: - db - influx environment: - CLIENT_ID - TOKEN db: image: postgres:alpine volumes: - "db_data:/var/lib/postgresql/data" restart: always influx: image: influxdb:alpine volumes: - "influx_data:/var/lib/influxdb:Z" restart: always grafana: build: grafana depends_on: - influx ports: - "2938:3000" restart: always volumes: db_data: influx_data: