2020-03-08 18:12:12 +00:00
|
|
|
version: "2.3"
|
2020-02-02 21:10:29 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
traefik:
|
2020-10-22 19:06:38 +01:00
|
|
|
image: traefik:v2.3
|
2020-02-02 21:10:29 +00:00
|
|
|
network_mode: host
|
2020-09-05 18:27:04 +01:00
|
|
|
environment:
|
|
|
|
- CF_DNS_API_TOKEN={{ cloudflare_api_token }}
|
2020-02-02 21:10:29 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- ./traefik:/etc/traefik
|
|
|
|
restart: unless-stopped
|
2020-08-30 15:58:03 +01:00
|
|
|
depends_on:
|
|
|
|
- influxdb
|
|
|
|
|
|
|
|
influxdb:
|
|
|
|
image: influxdb:1.8-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- "{{ traefik_influx_db_dir }}:/var/lib/influxdb"
|
|
|
|
ports:
|
2020-12-28 15:55:45 +00:00
|
|
|
- "{{ traefik_private_ip }}:38089:8089/udp"
|
|
|
|
- "{{ traefik_private_ip }}:38086:8086"
|
2020-08-30 15:58:03 +01:00
|
|
|
environment:
|
|
|
|
- INFLUXDB_DB=traefik
|
|
|
|
- INFLUXDB_HTTP_AUTH_ENABLED=
|
|
|
|
- INFLUXDB_UDP_ENABLED=true
|
|
|
|
- INFLUXDB_UDP_DATABASE=traefik
|