add: traefik
This commit is contained in:
parent
bcd44ccf5c
commit
38ae25cde3
14
traefik/docker-compose/traefik/docker-compose.yaml
Normal file
14
traefik/docker-compose/traefik/docker-compose.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
services:
|
||||
reverse-proxy:
|
||||
# The official v3 Traefik docker image
|
||||
image: traefik:v3.1
|
||||
# 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
|
||||
Loading…
Reference in New Issue
Block a user