2021-06-15 16:45:15 +02:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
volumes:
|
2021-06-15 17:36:17 +02:00
|
|
|
- ${DATADIR}/sqldata:/var/lib/mysql
|
2021-06-15 16:45:15 +02:00
|
|
|
|
|
|
|
influxdb:
|
2021-06-22 15:17:11 +02:00
|
|
|
container_name: cc-influxdb
|
|
|
|
image: influxdb
|
|
|
|
command: ["--reporting-disabled"]
|
|
|
|
environment:
|
|
|
|
DOCKER_INFLUXDB_INIT_MODE: setup
|
|
|
|
DOCKER_INFLUXDB_INIT_USERNAME: symfony
|
|
|
|
DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUXDB_PASSWORD}
|
|
|
|
DOCKER_INFLUXDB_INIT_ORG: ClusterCockpit
|
|
|
|
DOCKER_INFLUXDB_INIT_BUCKET: ClusterCockpit
|
2021-08-17 18:26:53 +02:00
|
|
|
DOCKER_INFLUXDB_INIT_RETENTION: 2y
|
2021-06-22 15:17:11 +02:00
|
|
|
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_ADMIN_TOKEN}
|
2021-06-15 17:09:53 +02:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:${INFLUXDB_PORT}:8086"
|
2021-06-15 16:45:15 +02:00
|
|
|
volumes:
|
|
|
|
- ${DATADIR}/influxdb/data:/var/lib/influxdb2
|
|
|
|
- ${DATADIR}/influxdb/config:/etc/influxdb2
|
|
|
|
|
|
|
|
phpmyadmin:
|
|
|
|
container_name: cc-phpmyadmin
|
|
|
|
image: phpmyadmin
|
|
|
|
environment:
|
|
|
|
- PMA_HOST=db
|
|
|
|
- PMA_USER=root
|
|
|
|
- PMA_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:${PHPMYADMIN_PORT}:80"
|
|
|
|
restart: always
|