2022-02-08 17:00:27 -08:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
traefik:
|
|
|
|
container_name: traefik
|
|
|
|
image: traefik:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- web
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- ./traefik.toml:/traefik.toml
|
|
|
|
- ./config:/config
|
2022-02-25 12:49:45 -08:00
|
|
|
- $DOCKER_DATA/acme.json:/acme.json
|
2022-02-08 17:00:27 -08:00
|
|
|
- ./.htpasswd:/.htpasswd
|
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|