mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
Update docker-compose.yml
This commit is contained in:
parent
363f16c61c
commit
1fbbd99378
|
@ -7,7 +7,7 @@ services:
|
||||||
hostname: loki
|
hostname: loki
|
||||||
container_name: loki
|
container_name: loki
|
||||||
volumes:
|
volumes:
|
||||||
- ./volume-data/loki:/etc/loki # see example-configs and place loki-config.yml
|
- ./volume-data/loki:/etc/loki # place loki-config.yml
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3100:3100"
|
- "127.0.0.1:3100:3100"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -24,7 +24,7 @@ services:
|
||||||
hostname: promtail
|
hostname: promtail
|
||||||
volumes:
|
volumes:
|
||||||
- /var/log:/var/log:ro # let promtail access the docker host's log files
|
- /var/log:/var/log:ro # let promtail access the docker host's log files
|
||||||
- ./volume-data/promtail:/etc/promtail # see example-configs and place promtail-config.yml
|
- ./volume-data/promtail:/etc/promtail # place promtail-config.yml
|
||||||
#- /mnt/docker-volumes/traefik/logs:/var/log/traefik # let promtail access your traefik reverse logs
|
#- /mnt/docker-volumes/traefik/logs:/var/log/traefik # let promtail access your traefik reverse logs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: -config.file=/etc/promtail/promtail-config.yml
|
command: -config.file=/etc/promtail/promtail-config.yml
|
||||||
|
@ -38,8 +38,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./volume-data/influxdb/data:/var/lib/influxdb
|
- ./volume-data/influxdb/data:/var/lib/influxdb
|
||||||
- ./volume-data/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro # see example-configs and place infuxdb.conf
|
- ./volume-data/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro # place infuxdb.conf
|
||||||
- ./volume-data/influxdb/init:/docker-entrypoint-initdb.d # see example-configs and place create-database.iql
|
- ./volume-data/influxdb/init:/docker-entrypoint-initdb.d # place create-database.iql for database init
|
||||||
environment:
|
environment:
|
||||||
- INFLUXDB_ADMIN_USER=admin
|
- INFLUXDB_ADMIN_USER=admin
|
||||||
- INFLUXDB_ADMIN_PASSWORD=SuperDuperAdminPW
|
- INFLUXDB_ADMIN_PASSWORD=SuperDuperAdminPW
|
||||||
|
@ -58,7 +58,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- influxdb
|
- influxdb
|
||||||
volumes:
|
volumes:
|
||||||
- ./volume-data/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro # see example-configs and place telegraf.conf
|
- ./volume-data/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro # place telegraf.conf
|
||||||
- /:/hostfs:ro
|
- /:/hostfs:ro
|
||||||
- /etc:/hostfs/etc:ro
|
- /etc:/hostfs/etc:ro
|
||||||
- /proc:/hostfs/proc:ro
|
- /proc:/hostfs/proc:ro
|
||||||
|
|
Loading…
Reference in New Issue
Block a user