OpenCloud: edits to opencloud.env

This commit is contained in:
vhsdream 2025-12-11 11:20:22 -05:00
parent e1cdbe7390
commit fbb47d39b1

View File

@ -75,12 +75,13 @@ IDM_CREATE_DEMO_USERS=false
OC_LOG_LEVEL=warning OC_LOG_LEVEL=warning
OC_CONFIG_DIR=${CONFIG_DIR} OC_CONFIG_DIR=${CONFIG_DIR}
OC_BASE_DATA_PATH=${DATA_DIR} OC_BASE_DATA_PATH=${DATA_DIR}
STORAGE_SYSTEM_OC_ROOT=${DATA_DIR}/storage/metadata
# Proxy ## Proxy
PROXY_TLS=false PROXY_TLS=false
PROXY_CSP_CONFIG_FILE_LOCATION=${CONFIG_DIR}/csp.yaml PROXY_CSP_CONFIG_FILE_LOCATION=${CONFIG_DIR}/csp.yaml
# Collaboration - requires VALID TLS ## Collaboration - requires VALID TLS
COLLABORA_DOMAIN=${COLLABORA_HOST} COLLABORA_DOMAIN=${COLLABORA_HOST}
COLLABORATION_APP_NAME="CollaboraOnline" COLLABORATION_APP_NAME="CollaboraOnline"
COLLABORATION_APP_PRODUCT="Collabora" COLLABORATION_APP_PRODUCT="Collabora"
@ -90,53 +91,52 @@ COLLABORATION_HTTP_ADDR=0.0.0.0:9300
COLLABORATION_WOPI_SRC=https://${WOPI_HOST} COLLABORATION_WOPI_SRC=https://${WOPI_HOST}
COLLABORATION_JWT_SECRET= COLLABORATION_JWT_SECRET=
# Applications ## Applications
WEB_ASSET_APPS_PATH=${CONFIG_DIR}/assets/apps WEB_ASSET_APPS_PATH=${CONFIG_DIR}/assets/apps
# Notifications - Email settings ## Notifications - Email settings
# NOTIFICATIONS_SMTP_HOST= # NOTIFICATIONS_SMTP_HOST=
# NOTIFICATIONS_SMTP_PORT= # NOTIFICATIONS_SMTP_PORT=
# NOTIFICATIONS_SMTP_SENDER= # NOTIFICATIONS_SMTP_SENDER=
# NOTIFICATIONS_SMTP_USERNAME= # NOTIFICATIONS_SMTP_USERNAME=
# NOTIFICATIONS_SMTP_PASSWORD= # NOTIFICATIONS_SMTP_PASSWORD=
# NOTIFICATIONS_SMTP_AUTHENTICATION=login # NOTIFICATIONS_SMTP_AUTHENTICATION=login
# Encryption method. Possible values are 'starttls', 'ssltls' and 'none' ## Encryption method. Possible values are 'starttls', 'ssltls' and 'none'
# NOTIFICATIONS_SMTP_ENCRYPTION=starttls # NOTIFICATIONS_SMTP_ENCRYPTION=starttls
# Allow insecure connections. Defaults to false. ## Allow insecure connections. Defaults to false.
# NOTIFICATIONS_SMTP_INSECURE=false # NOTIFICATIONS_SMTP_INSECURE=false
# Start additional services at runtime ## Start additional services at runtime
# Examples: notifications, antivirus etc. ## Examples: notifications, antivirus etc.
# Do not uncomment unless configured above. ## Do not uncomment unless configured above.
# OC_ADD_RUN_SERVICES="notifications" # OC_ADD_RUN_SERVICES="notifications"
# OpenID - via web browser ## OpenID - via web browser
# ## uncomment for OpenID in general
# uncomment for OpenID in general - works for Authelia
# OC_EXCLUDE_RUN_SERVICES=idp # OC_EXCLUDE_RUN_SERVICES=idp
# OC_OIDC_ISSUER=<your auth URL> # OC_OIDC_ISSUER=<your auth URL>
# PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD=none # PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD=none
# PROXY_OIDC_REWRITE_WELLKNOWN=true # PROXY_OIDC_REWRITE_WELLKNOWN=true
# PROXY_USER_OIDC_CLAIM=preferred_username # PROXY_USER_OIDC_CLAIM=preferred_username
# PROXY_USER_CS3_CLAIM=username # PROXY_USER_CS3_CLAIM=username
# automatically create accounts ## automatically create accounts
# PROXY_AUTOPROVISION_ACCOUNTS=true # PROXY_AUTOPROVISION_ACCOUNTS=true
# WEB_OIDC_SCOPE=openid profile email groups # WEB_OIDC_SCOPE=openid profile email groups
# GRAPH_ASSIGN_DEFAULT_USER_ROLE=false # GRAPH_ASSIGN_DEFAULT_USER_ROLE=false
# #
# uncomment below if using PocketID ## uncomment below if using PocketID
# WEB_OIDC_CLIENT_ID=<generated in PocketID> # WEB_OIDC_CLIENT_ID=<generated in PocketID>
# WEB_OIDC_METADATA_URL=<your auth URL>/.well-known/openid-configuration # WEB_OIDC_METADATA_URL=<your auth URL>/.well-known/openid-configuration
# Full Text Search - Apache Tika ## Full Text Search - Apache Tika
# Requires a separate install of Tika - see https://community-scripts.github.io/ProxmoxVE/scripts?id=apache-tika ## Requires a separate install of Tika - see https://community-scripts.github.io/ProxmoxVE/scripts?id=apache-tika
# SEARCH_EXTRACTOR_TYPE=tika # SEARCH_EXTRACTOR_TYPE=tika
# FRONTEND_FULL_TEXT_SEARCH_ENABLED=true # FRONTEND_FULL_TEXT_SEARCH_ENABLED=true
# SEARCH_EXTRACTOR_TIKA_TIKA_URL=<your-tika-url> # SEARCH_EXTRACTOR_TIKA_TIKA_URL=<your-tika-url>
# External storage test - currently not working ## External storage test - Only NFS v4.2+ is supported
## User files
# STORAGE_USERS_POSIX_ROOT=<path-to-your-bind_mount> # STORAGE_USERS_POSIX_ROOT=<path-to-your-bind_mount>
# STORAGE_USERS_ID_CACHE_STORE=nats-js-kv
EOF EOF
cat <<EOF >/etc/systemd/system/opencloud.service cat <<EOF >/etc/systemd/system/opencloud.service