docker-deploy/traefik/docker-compose-file-provider.yml

28 lines
486 B
YAML
Raw Normal View History

2021-09-19 13:56:24 +08:00
version: "3.9"
services:
reverse-proxy:
image: traefik:v2.5
ports:
- "80:80"
- "443:443"
environment:
- "TZ=Asia/Shanghai"
labels:
- "traefik.enable=true"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./conf:/etc/traefik/config
- ./acme.json:/etc/acme/acme.json
- ./log:/var/log
- ./traefik.yml:/etc/traefik/traefik.yml:ro
networks:
- traefik
networks:
traefik:
external: true