blob: 8aeaff85028feddd462138795ba5dc022e084db6 (
plain) (
tree)
|
|
version: '3'
services:
checkinbot:
image: "clarkzjw/checkin.bot:latest"
restart: always
volumes:
- "./config.ini:/usr/src/app/config.ini"
- sqlite3:/usr/src/app/database/
ports:
- "8080:8080"
krakend:
image: "devopsfaith/krakend:2.2"
restart: always
ports:
- "8081:8080"
- "9091:9091"
volumes:
- "./krakend.json:/etc/krakend/krakend.json"
influx:
image: influxdb:2.6.1
environment:
- "DOCKER_INFLUXDB_INIT_MODE=setup"
- "DOCKER_INFLUXDB_INIT_USERNAME=krakend"
- "DOCKER_INFLUXDB_INIT_PASSWORD=password"
- "DOCKER_INFLUXDB_INIT_ORG=my-org"
- "DOCKER_INFLUXDB_INIT_BUCKET=krakend"
- "DOCKER_INFLUXDB_INIT_RETENTION=1w"
- "DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=my-super-secret-auth-token"
ports:
- "8086:8086"
volumes:
- "./influx/initdb.sh:/docker-entrypoint-initdb.d/initdb.sh"
grafana:
image: "grafana/grafana:9.3.6"
restart: always
ports:
- "3000:3000"
volumes:
- grafana:/var/lib/grafana
volumes:
sqlite3:
grafana:
influxdb:
|