replace command syntax with usage of file provider to set skip verify of self signed certs

This commit is contained in:
brooke 2025-02-13 14:34:00 -05:00
parent 8be9f387e5
commit 91ca64b71e
3 changed files with 9 additions and 2 deletions

View File

@ -150,3 +150,4 @@ COMPOSE_FILE="compose.yml"
## Zulip
#COMPOSE_FILE="$COMPOSE_FILE:compose.zulip.yml"
#ZULIP_HTTPS_PROXY_ENABLED=1

View File

@ -1,5 +1,6 @@
version: "3.8"
services:
app:
command:
- "--serversTransport.insecureSkipVerify=true"
deploy:
labels:
- "traefik.http.services.${STACK_NAME}.loadBalancer.serversTransport=zulip@file"

View File

@ -1,5 +1,10 @@
---
http:
{{ if eq (env "ZULIP_HTTPS_PROXY_ENABLED") "1" }}
serversTransports:
zulip:
insecureSkipVerify: true
{{ end }}
middlewares:
{{ if eq (env "KEYCLOAK_MIDDLEWARE_ENABLED") "1" }}
keycloak: