ridzimeko revised this gist . Go to revision
1 file changed, 13 insertions
docker-compose.yml(file created)
| @@ -0,0 +1,13 @@ | |||
| 1 | + | version: "3" | |
| 2 | + | services: | |
| 3 | + | reverse-proxy: | |
| 4 | + | # The official v3 Traefik docker image | |
| 5 | + | image: traefik:v3.1 | |
| 6 | + | ports: | |
| 7 | + | # The HTTP port | |
| 8 | + | - "80:80" | |
| 9 | + | # The Web UI (Don't use this in production!) | |
| 10 | + | - "8080:8080" | |
| 11 | + | volumes: | |
| 12 | + | # So that Traefik can listen to the Docker events | |
| 13 | + | - /var/run/docker.sock:/var/run/docker.sock | |
Newer
Older