@@ -5,6 +5,7 @@ services:
55 environment :
66 # this is needed for setting the correct CSP header
77 COLLABORA_DOMAIN : ${COLLABORA_DOMAIN:-collabora.opencloud.test}
8+ TRAEFIK_PORT_HTTPS : ${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
89 # expose nats and the reva gateway for the collaboration service
910 NATS_NATS_HOST : 0.0.0.0
1011 GATEWAY_GRPC_ADDR : 0.0.0.0:9142
@@ -30,15 +31,15 @@ services:
3031 COLLABORATION_HTTP_ADDR : 0.0.0.0:9300
3132 MICRO_REGISTRY : " nats-js-kv"
3233 MICRO_REGISTRY_ADDRESS : " opencloud:9233"
33- COLLABORATION_WOPI_SRC : https://${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}
34+ COLLABORATION_WOPI_SRC : https://${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
3435 COLLABORATION_APP_NAME : " CollaboraOnline"
3536 COLLABORATION_APP_PRODUCT : " Collabora"
36- COLLABORATION_APP_ADDR : https://${COLLABORA_DOMAIN:-collabora.opencloud.test}
37- COLLABORATION_APP_ICON : https://${COLLABORA_DOMAIN:-collabora.opencloud.test}/favicon.ico
37+ COLLABORATION_APP_ADDR : https://${COLLABORA_DOMAIN:-collabora.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
38+ COLLABORATION_APP_ICON : https://${COLLABORA_DOMAIN:-collabora.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} /favicon.ico
3839 COLLABORATION_APP_INSECURE : " ${INSECURE:-true}"
3940 COLLABORATION_CS3API_DATAGATEWAY_INSECURE : " ${INSECURE:-true}"
4041 COLLABORATION_LOG_LEVEL : ${LOG_LEVEL:-info}
41- OC_URL : https://${OC_DOMAIN:-cloud.opencloud.test}
42+ OC_URL : https://${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
4243 volumes :
4344 # configure the .env file to use own paths instead of docker internal volumes
4445 - ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
@@ -52,15 +53,15 @@ services:
5253 networks :
5354 opencloud-net :
5455 environment :
55- aliasgroup1 : https://${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}:443
56+ aliasgroup1 : https://${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
5657 DONT_GEN_SSL_CERT : " YES"
5758 extra_params : |
5859 --o:ssl.enable=${COLLABORA_SSL_ENABLE:-true} \
5960 --o:ssl.ssl_verification=${COLLABORA_SSL_VERIFICATION:-true} \
6061 --o:ssl.termination=true \
6162 --o:welcome.enable=false \
62- --o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test} \
63- --o:net.lok_allow.host[14]=${OC_DOMAIN-cloud.opencloud.test} \
63+ --o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} \
64+ --o:net.lok_allow.host[14]=${OC_DOMAIN-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} \
6465 --o:home_mode.enable=${COLLABORA_HOME_MODE:-false}
6566 username : ${COLLABORA_ADMIN_USER:-admin}
6667 password : ${COLLABORA_ADMIN_PASSWORD:-admin}
0 commit comments