2022-02-08 17:00:27 -08:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
traefik:
|
|
|
|
image: traefik:latest
|
2022-04-22 13:06:19 -07:00
|
|
|
container_name: traefik_traefik
|
2022-07-13 13:35:56 -07:00
|
|
|
logging:
|
|
|
|
driver: loki
|
|
|
|
options:
|
|
|
|
loki-url: http://localhost:3100/loki/api/v1/push
|
|
|
|
loki-batch-size: "50"
|
|
|
|
loki-retries: "1"
|
|
|
|
loki-timeout: "2s"
|
2022-07-14 15:22:44 -07:00
|
|
|
keep-file: "true"
|
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:
|
|
|
|
ipv4_address: 172.18.0.31
|
|
|
|
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
|
2022-02-08 17:00:27 -08:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
2022-07-17 11:00:01 -07:00
|
|
|
monitoring:
|
|
|
|
external: true
|