12 lines
397 B
YAML
12 lines
397 B
YAML
version: '3'
|
|
|
|
services:
|
|
reverse-proxy:
|
|
# The official v3 Traefik docker image
|
|
image: traefik:v3.3
|
|
# Enables the web UI and tells Traefik to listen to docker
|
|
command: --api.insecure=true --entryPoints.web.address=:8000 --providers.docker
|
|
network_mode: host
|
|
volumes:
|
|
# So that Traefik can listen to the Docker events
|
|
- /var/run/docker.sock:/var/run/docker.sock
|