docker-compose.yml
· 345 B · YAML
原始檔案
version: "3"
services:
reverse-proxy:
# The official v3 Traefik docker image
image: traefik:v3.1
ports:
# The HTTP port
- "80:80"
# The Web UI (Don't use this in production!)
- "8080:8080"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
| 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 |