Traefik
ΠΠ±ΡΠ·Π°ΡΠ΅Π»ΡΠ½ΠΎ Π½Π°Π΄ΠΎ Π½Π°ΡΡΡΠΎΠΈΡΡ ΡΠ°ΠΉΠ»Ρ ΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠ°ΡΠΈΠΈ Traefik
services:
traefik:
image: traefik:latest
container_name: traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- proxy
ports:
- 80:80
- 443:443
- 8082:8082
environment:
- CF_API_EMAIL=<CF_API_EMAIL>
- CF_DNS_API_TOKEN=<CF_DNS_API_TOKEN>
volumes:
- /etc/localtime:/etc/localtime:ro
- ./traefik.yml:/traefik.yml:ro
- ./acme.json:/acme.json
- ./logs:/var/log/traefik
- ./dynamic:/config:ro
networks:
proxy:
name: proxy
external: true