traefik-container/container-compose.yml

21 lines
421 B
YAML

---
version: '3'
networks:
web:
external: true
services:
reverse-proxy:
image: docker.io/traefik:latest
command:
- "--configFile=/traefik.toml"
- "--certificatesresolvers.myresolver.acme.email=${ACME_MAIL:-info@example.com}"
environment:
- TRAEFIK_API_INSECURE=true
networks:
- web
volumes:
- ./traefik.toml:/traefik.toml:ro
- ./conf.d:/traefik.conf.d:ro