This repository has been archived on 2022-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-11 10:01:15 +00:00
|
|
|
version: '3'
|
2021-10-19 17:07:24 +00:00
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
2021-10-11 10:01:15 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
reverse-proxy:
|
|
|
|
# The official v2 Traefik docker image
|
|
|
|
image: traefik:v2.5
|
|
|
|
# Enables the web UI and tells Traefik to listen to docker
|
|
|
|
command: --api.insecure=true --providers.docker
|
2021-10-19 17:07:24 +00:00
|
|
|
networks:
|
|
|
|
- web
|
2021-10-11 10:01:15 +00:00
|
|
|
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
|