Created
November 21, 2019 11:32
-
-
Save wingrime/07fee3c1cfd8602f9b9b168eface9185 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
traefik: | |
image: traefik:latest | |
command: --docker | |
ports: | |
- "80:80" 6 | |
- "443:443" | |
labels: | |
- "traefik.enable=true" | |
- "traefik.backend=dashboard" | |
- "traefik.frontend.rule=Host:traefik-gitea.mydomain.com" | |
- "traefik.port=8080" | |
networks: | |
- gitea | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /data/volumes/traefik/traefik.toml:/traefik.toml 7 | |
- /data/volumes/traefik/acme.json:/acme.json 7 | |
container_name: traefik | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment