mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
align variable names in docker compose yml and environment
This commit is contained in:
@@ -4,10 +4,10 @@ directives:
|
|||||||
connect-src:
|
connect-src:
|
||||||
- '''self'''
|
- '''self'''
|
||||||
- 'blob:'
|
- 'blob:'
|
||||||
- 'https://${COMPANION_DOMAIN|companion.opencloud.test}${TRAEFIK_EXTERNAL_PORT}/'
|
- 'https://${COMPANION_DOMAIN|companion.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
|
||||||
- 'wss://${COMPANION_DOMAIN|companion.opencloud.test}${TRAEFIK_EXTERNAL_PORT}/'
|
- 'wss://${COMPANION_DOMAIN|companion.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
|
||||||
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
||||||
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_EXTERNAL_PORT}/'
|
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
|
||||||
- 'https://update.opencloud.eu/'
|
- 'https://update.opencloud.eu/'
|
||||||
default-src:
|
default-src:
|
||||||
- '''none'''
|
- '''none'''
|
||||||
@@ -20,7 +20,7 @@ directives:
|
|||||||
- 'blob:'
|
- 'blob:'
|
||||||
- 'https://embed.diagrams.net/'
|
- 'https://embed.diagrams.net/'
|
||||||
# In contrary to bash and docker the default is given after the | character
|
# In contrary to bash and docker the default is given after the | character
|
||||||
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}${TRAEFIK_EXTERNAL_PORT}/'
|
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
|
||||||
# This is needed for the external-sites web extension when embedding sites
|
# This is needed for the external-sites web extension when embedding sites
|
||||||
- 'https://docs.opencloud.eu'
|
- 'https://docs.opencloud.eu'
|
||||||
img-src:
|
img-src:
|
||||||
@@ -30,7 +30,7 @@ directives:
|
|||||||
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
||||||
- 'https://tile.openstreetmap.org/'
|
- 'https://tile.openstreetmap.org/'
|
||||||
# In contrary to bash and docker the default is given after the | character
|
# In contrary to bash and docker the default is given after the | character
|
||||||
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}${TRAEFIK_EXTERNAL_PORT}/'
|
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
|
||||||
manifest-src:
|
manifest-src:
|
||||||
- '''self'''
|
- '''self'''
|
||||||
media-src:
|
media-src:
|
||||||
@@ -41,7 +41,7 @@ directives:
|
|||||||
script-src:
|
script-src:
|
||||||
- '''self'''
|
- '''self'''
|
||||||
- '''unsafe-inline'''
|
- '''unsafe-inline'''
|
||||||
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_EXTERNAL_PORT}/'
|
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}${TRAEFIK_PORT_HTTPS}/'
|
||||||
style-src:
|
style-src:
|
||||||
- '''self'''
|
- '''self'''
|
||||||
- '''unsafe-inline'''
|
- '''unsafe-inline'''
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ add_arg "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
|||||||
# enable dashboard
|
# enable dashboard
|
||||||
add_arg "--api.dashboard=true"
|
add_arg "--api.dashboard=true"
|
||||||
# define entrypoints
|
# define entrypoints
|
||||||
add_arg "--entryPoints.http.address=:${TRAEFIK_HTTP_PORT:-80}"
|
add_arg "--entryPoints.http.address=:${TRAEFIK_PORT_HTTP:-80}"
|
||||||
add_arg "--entryPoints.http.http.redirections.entryPoint.to=https"
|
add_arg "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||||
add_arg "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
add_arg "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||||
add_arg "--entryPoints.https.address=:${TRAEFIK_HTTPS_PORT:-443}"
|
add_arg "--entryPoints.https.address=:${TRAEFIK_PORT_HTTPS:-443}"
|
||||||
# change default timeouts for long-running requests
|
# change default timeouts for long-running requests
|
||||||
# this is needed for webdav clients that do not support the TUS protocol
|
# this is needed for webdav clients that do not support the TUS protocol
|
||||||
add_arg "--entryPoints.https.transport.respondingTimeouts.readTimeout=12h"
|
add_arg "--entryPoints.https.transport.respondingTimeouts.readTimeout=12h"
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ services:
|
|||||||
- "TRAEFIK_ACME_CASERVER=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory}"
|
- "TRAEFIK_ACME_CASERVER=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory}"
|
||||||
- "TRAEFIK_LOG_LEVEL=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
- "TRAEFIK_LOG_LEVEL=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||||
- "TRAEFIK_ACCESS_LOG=${TRAEFIK_ACCESS_LOG:-false}"
|
- "TRAEFIK_ACCESS_LOG=${TRAEFIK_ACCESS_LOG:-false}"
|
||||||
- "TRAEFIK_HTTP_PORT=${TRAEFIK_PORT_HTTP:-80}"
|
- "TRAEFIK_PORT_HTTP=${TRAEFIK_PORT_HTTP:-80}"
|
||||||
- "TRAEFIK_HTTPS_PORT=${TRAEFIK_PORT_HTTPS:-443}"
|
- "TRAEFIK_PORT_HTTPS=${TRAEFIK_PORT_HTTPS:-443}"
|
||||||
ports:
|
ports:
|
||||||
- "${TRAEFIK_PORT_HTTP:-80}:${TRAEFIK_PORT_HTTP:-80}"
|
- "${TRAEFIK_PORT_HTTP:-80}:${TRAEFIK_PORT_HTTP:-80}"
|
||||||
- "${TRAEFIK_PORT_HTTPS:-443}:${TRAEFIK_PORT_HTTPS:-443}"
|
- "${TRAEFIK_PORT_HTTPS:-443}:${TRAEFIK_PORT_HTTPS:-443}"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
# this is needed for setting the correct CSP header
|
# this is needed for setting the correct CSP header
|
||||||
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
||||||
TRAEFIK_EXTERNAL_PORT: ${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
|
TRAEFIK_PORT_HTTPS: ${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}
|
||||||
# expose nats and the reva gateway for the collaboration service
|
# expose nats and the reva gateway for the collaboration service
|
||||||
NATS_NATS_HOST: 0.0.0.0
|
NATS_NATS_HOST: 0.0.0.0
|
||||||
GATEWAY_GRPC_ADDR: 0.0.0.0:9142
|
GATEWAY_GRPC_ADDR: 0.0.0.0:9142
|
||||||
|
|||||||
Reference in New Issue
Block a user