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 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:
|
2023-02-15 14:17:23 -08:00
|
|
|
#ipv4_address: 172.18.0.31
|
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
|
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
|