diff --git a/traefik/docker-compose/traefik/docker-compose.yaml b/traefik/docker-compose/traefik/docker-compose.yaml new file mode 100644 index 0000000..dbd3194 --- /dev/null +++ b/traefik/docker-compose/traefik/docker-compose.yaml @@ -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 \ No newline at end of file