chore: updates
This commit is contained in:
parent
c53b246608
commit
840e90d5a9
|
@ -1,20 +1,15 @@
|
|||
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"
|
||||
image: "traefik:v2.5"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8080:8080"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "./traefik.yml:/etc/traefik/traefik.yml"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
networks:
|
||||
- traefik_proxy
|
||||
|
||||
|
|
6
traefik.yml
Normal file
6
traefik.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
providers:
|
||||
docker:
|
||||
defaultRule: "Host(`{{ trimPrefix `/` .Name }}.docker.localhost`)"
|
||||
|
||||
api:
|
||||
insecure: true
|
Reference in a new issue