add endpoints
This commit is contained in:
parent
a59b36f126
commit
9388779a0e
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- GANDIV5_API_KEY=${GANDIV5_API_KEY}
|
- GANDIV5_API_KEY=${GANDIV5_API_KEY}
|
||||||
labels:
|
labels:
|
||||||
|
- traefik.http.routers.api.entrypoints=http
|
||||||
|
- traefik.http.routers.api.entrypoints=https
|
||||||
|
# middleware auth
|
||||||
|
- traefik.http.routers.api.middlewares=auth
|
||||||
|
- traefik.http.middlewares.auth.basicauth.users=${BASIC_AUTH}
|
||||||
# request widlcard certificate
|
# request widlcard certificate
|
||||||
- traefik.http.routers.api.tls.certresolver=letsencrypt
|
- traefik.http.routers.api.tls.certresolver=letsencrypt
|
||||||
- traefik.http.routers.api.tls.domains[0].main=${DOMAIN}
|
- traefik.http.routers.api.tls.domains[0].main=${DOMAIN}
|
||||||
|
|
Loading…
Add table
Reference in a new issue