add host ports
This commit is contained in:
parent
6ee670e371
commit
f0558471df
1 changed files with 10 additions and 7 deletions
|
@ -5,14 +5,14 @@ services:
|
||||||
image: "traefik:v2.5"
|
image: "traefik:v2.5"
|
||||||
|
|
||||||
command:
|
command:
|
||||||
#- "--log.level=DEBUG"
|
- "--log.level=DEBUG"
|
||||||
# - "--api.insecure=false"
|
- "--api.insecure=true"
|
||||||
- "--providers.docker=true"
|
- "--providers.docker=true"
|
||||||
#- "--api.dashboard=true"
|
- "--api.dashboard=true"
|
||||||
|
|
||||||
- "--providers.docker.exposedbydefault=false"
|
- "--providers.docker.exposedbydefault=false"
|
||||||
|
|
||||||
- "--entrypoints.unsecure.address=:80"
|
- "--entrypoints.web.address=:80"
|
||||||
# Global HTTPS
|
# Global HTTPS
|
||||||
# - "--entrypoints.web.address=:443"
|
# - "--entrypoints.web.address=:443"
|
||||||
# - "--entrypoints.unsecure.http.redirections.entryPoint.to=web"
|
# - "--entrypoints.unsecure.http.redirections.entryPoint.to=web"
|
||||||
|
@ -63,14 +63,16 @@ services:
|
||||||
laF_version: 3.0.4
|
laF_version: 3.0.4
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.app-odc.tls=true"
|
#- "traefik.http.routers.app-odc.tls=true"
|
||||||
- "traefik.http.routers.app-odc.rule=Host(`<clientUrl>`)"
|
- "traefik.http.routers.app-odc.rule=Host(`<clientUrl>`)"
|
||||||
- "traefik.http.routers.app-odc.entrypoints=web"
|
- "traefik.http.routers.app-odc.entrypoints=web"
|
||||||
- "traefik.http.services.app-odc.loadbalancer.server.port=8080"
|
- "traefik.http.services.app-odc.loadbalancer.server.port=8080"
|
||||||
- "traefik.http.routers.app-odc.tls.certresolver=letsencrypt"
|
#- "traefik.http.routers.app-odc.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.services.app-odc.loadbalancer.sticky=true"
|
- "traefik.http.services.app-odc.loadbalancer.sticky=true"
|
||||||
- "traefik.http.services.app-odc.loadbalancer.sticky.cookie.name=odc"
|
- "traefik.http.services.app-odc.loadbalancer.sticky.cookie.name=odc"
|
||||||
- "traefik.http.services.app-odc.loadbalancer.sticky.cookie.secure=true"
|
- "traefik.http.services.app-odc.loadbalancer.sticky.cookie.secure=true"
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- datenschutzcenter_uploads:/var/www/html/public/uploads:rw
|
- datenschutzcenter_uploads:/var/www/html/public/uploads:rw
|
||||||
- datenschutzcenter_secret_storage:/var/www/html/secretStorage:rw
|
- datenschutzcenter_secret_storage:/var/www/html/secretStorage:rw
|
||||||
|
@ -107,7 +109,8 @@ services:
|
||||||
KC_HOSTNAME_ADMIN_URL: <httpMethod>://<clientUrl>/keycloak
|
KC_HOSTNAME_ADMIN_URL: <httpMethod>://<clientUrl>/keycloak
|
||||||
KC_HTTP_RELATIVE_PATH: /keycloak
|
KC_HTTP_RELATIVE_PATH: /keycloak
|
||||||
KC_PROXY: passthrough
|
KC_PROXY: passthrough
|
||||||
|
ports:
|
||||||
|
- "8081:8080"
|
||||||
command:
|
command:
|
||||||
- start-dev
|
- start-dev
|
||||||
- --import-realm
|
- --import-realm
|
||||||
|
|
Loading…
Reference in a new issue