Created
April 27, 2020 00:36
-
-
Save Rolilink/5bf1de64ad29b4c0b5b50a60eaa578a7 to your computer and use it in GitHub Desktop.
Adding the traefik image
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: | |
build: | |
context: ./traefik | |
dockerfile: .docker/Dockerfile | |
ports: | |
- "8080:8080" # expose the admin UI | |
- "80:80" # expose the web entrypoint | |
volumes: | |
# So that Traefik can listen to the Docker events | |
- /var/run/docker.sock:/var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment