2022-02-08 17:00:27 -08:00
|
|
|
|
|
|
|
services:
|
|
|
|
traefik:
|
2024-07-22 10:26:29 -07:00
|
|
|
image: traefik:latest
|
2022-04-22 13:06:19 -07:00
|
|
|
container_name: traefik_traefik
|
2022-07-13 10:47:27 -07:00
|
|
|
restart: "no"
|
2022-02-08 17:00:27 -08:00
|
|
|
networks:
|
2023-01-26 15:54:03 -08:00
|
|
|
web:
|
2024-03-30 17:53:19 -07:00
|
|
|
ipv4_address: 172.20.0.10
|
2023-01-26 15:54:03 -08:00
|
|
|
monitoring:
|
2022-02-08 17:00:27 -08:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
2022-07-09 00:44:40 -07:00
|
|
|
- ./traefik.yaml:/traefik.yaml
|
2022-02-08 17:00:27 -08:00
|
|
|
- ./config:/config
|
2022-02-25 12:49:45 -08:00
|
|
|
- $DOCKER_DATA/acme.json:/acme.json
|
2024-08-14 14:10:17 -07:00
|
|
|
- $DOCKER_DATA/acme-dns01.json:/acme-dns01.json
|
2024-08-12 16:40:17 -07:00
|
|
|
environment:
|
2024-08-15 11:34:15 -07:00
|
|
|
- CLOUDFLARE_DNS_API_TOKEN=${traefik_CLOUDFLARE_DNS_API_TOKEN}
|
2022-02-08 17:00:27 -08:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
2022-07-17 11:00:01 -07:00
|
|
|
monitoring:
|
2023-02-15 14:17:23 -08:00
|
|
|
external: true
|