traefik-container/container-compose.yml

21 lines
421 B
YAML
Raw Permalink Normal View History

2022-09-10 20:23:15 +00:00
---
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}"
2022-09-10 20:23:15 +00:00
environment:
- TRAEFIK_API_INSECURE=true
networks:
- web
volumes:
- ./traefik.toml:/traefik.toml:ro
- ./conf.d:/traefik.conf.d:ro