fix: traefik.docker.network label must use actual network name not compose alias
This commit is contained in:
parent
e0792a9f96
commit
38108f62eb
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ services:
|
|||
- ./data:/app/data
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=web
|
||||
- traefik.docker.network=dokploy-network
|
||||
- traefik.http.routers.api.rule=Host(`model.manohargupta.com`) && PathPrefix(`/api`)
|
||||
- traefik.http.routers.api.entrypoints=websecure
|
||||
- traefik.http.routers.api.tls.certresolver=letsencrypt
|
||||
|
|
@ -54,7 +54,7 @@ services:
|
|||
- NEXT_PUBLIC_API_URL=https://model.manohargupta.com/api
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=web
|
||||
- traefik.docker.network=dokploy-network
|
||||
- traefik.http.routers.web.rule=Host(`model.manohargupta.com`)
|
||||
- traefik.http.routers.web.entrypoints=websecure
|
||||
- traefik.http.routers.web.tls.certresolver=letsencrypt
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue