renamed Træfik network in compose file, added name variable for it
This commit is contained in:
parent
5b9facf603
commit
026fc917e9
@ -60,7 +60,7 @@ services:
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=true
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=letsencrypt
|
||||
networks:
|
||||
- traefik-proxy
|
||||
- traefik
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
@ -70,5 +70,6 @@ services:
|
||||
- ./le-certs.json:/le-certs.json
|
||||
|
||||
networks:
|
||||
traefik-proxy:
|
||||
traefik:
|
||||
external: true
|
||||
name: ${TRAEFIK_NETWORK}
|
||||
|
@ -2,6 +2,7 @@ TRAEFIK_VERSION=2.4
|
||||
TRAEFIK_CONTAINER_NAME=traefik.mydomain.com
|
||||
TRAEFIK_MATCHRULE=traefik.mydomain.com
|
||||
TRAEFIK_ROUTER=traefik_mydomain_com
|
||||
TRAEFIK_NETWORK=traefik-proxy
|
||||
TRAEFIK_LOGLEVEL=INFO
|
||||
TRAEFIK_PILOT_TOKEN=
|
||||
TRAEFIK_DASHBOARD_WHITELIST=1.2.3.4/24
|
||||
|
Loading…
Reference in New Issue
Block a user