enable internal api

This commit is contained in:
Yax 2021-11-14 17:49:28 +01:00
parent 9388779a0e
commit cda27bccf0

View file

@ -23,6 +23,7 @@ services:
labels: labels:
- traefik.http.routers.api.entrypoints=http - traefik.http.routers.api.entrypoints=http
- traefik.http.routers.api.entrypoints=https - traefik.http.routers.api.entrypoints=https
- traefik.http.routers.api.service=api@internal
# middleware auth # middleware auth
- traefik.http.routers.api.middlewares=auth - traefik.http.routers.api.middlewares=auth
- traefik.http.middlewares.auth.basicauth.users=${BASIC_AUTH} - traefik.http.middlewares.auth.basicauth.users=${BASIC_AUTH}