enhance: enable OCM app in a nice way

This commit is contained in:
Thomas Schweiger
2025-09-25 12:09:51 +02:00
parent 2c049e34f0
commit 5003888b9f
2 changed files with 15 additions and 3 deletions

View File

@@ -59,14 +59,12 @@ services:
OCM_OCM_SHARE_PROVIDER_INSECURE: "true"
OCM_OCM_STORAGE_PROVIDER_INSECURE: "true"
GRAPH_INCLUDE_OCM_SHAREES: "true"
WEB_UI_CONFIG_FILE: ${WEB_UI_CONFIG_FILE:-/web/config.json}
volumes:
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
- ./config/opencloud/banned-password-list.txt:/etc/opencloud/banned-password-list.txt
- ${OC_WEB_CONFIG:-./config/opencloud/opencloud.web.config.json}:/web/config.json:ro
- ./config/opencloud/opencloud.storage.ocmproviders.json:/etc/opencloud/ocmproviders.json
- ./config/opencloud/web.yaml:/etc/opencloud/web.yaml
# configure the .env file to use own paths instead of docker internal volumes
- ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
- ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud