Created
August 15, 2023 18:39
-
-
Save kaigouthro/a07328828cb65f58faa79d9f20e4b970 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
version: '3' | |
services: | |
reverse-proxy: | |
# The official v2 Traefik docker image | |
image: traefik:v2.10 | |
# Enables the web UI and tells Traefik to listen to docker | |
command: --api.insecure=true --providers.docker | |
ports: | |
# The HTTP port | |
- "80:80" | |
# The Web UI (enabled by --api.insecure=true) | |
- "8080:8080" | |
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