btcpayserver-docker/docker-compose-generator/docker-fragments/traefik.yml
Maxime Rousseau ea9abe6301
Yamllint'ed all files and made them compliant. (#379)
Co-authored-by: max <max@RedRapier.local>
2020-10-06 14:17:43 +09:00

28 lines
533 B
YAML

version: "3"
services:
traefik:
restart: unless-stopped
image: traefik
container_name: traefik
ports:
- "${REVERSEPROXY_HTTP_PORT:-80}:80"
- "${REVERSEPROXY_HTTPS_PORT:-443}:443"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./traefik.toml:/traefik.toml"
- "./acme.json:/acme.json:ro"
- "./servers.toml:/servers.toml"
- "./traefik_logs:/traefik_logs"
links:
- btcpayserver
volumes:
traefik_logs:
exclusive:
- proxy
required:
- "traefik"