Skip to content

Instantly share code, notes, and snippets.

@Rolilink
Created April 27, 2020 00:36
Show Gist options
  • Save Rolilink/5bf1de64ad29b4c0b5b50a60eaa578a7 to your computer and use it in GitHub Desktop.
Save Rolilink/5bf1de64ad29b4c0b5b50a60eaa578a7 to your computer and use it in GitHub Desktop.
Adding the traefik image
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