25 lines
552 B
YAML
25 lines
552 B
YAML
|
version: "3.3"
|
||
|
|
||
|
networks:
|
||
|
traefik_proxy:
|
||
|
external: true
|
||
|
|
||
|
services:
|
||
|
reverse-proxy:
|
||
|
image: "traefik:v2.4"
|
||
|
command:
|
||
|
- "--api.debug=true"
|
||
|
- "--api.insecure=true"
|
||
|
- "--entrypoints.traefik_proxy.address=:80"
|
||
|
- "--log.level=DEBUG"
|
||
|
- "--providers.docker.exposedbydefault=false"
|
||
|
- "--providers.docker.network=traefik_proxy"
|
||
|
- "--providers.docker=true"
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
- "8080:8080"
|
||
|
volumes:
|
||
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||
|
networks:
|
||
|
- traefik_proxy
|