Compare commits

..

6 Commits

Author SHA1 Message Date
Thomas Schweiger
dc3044868e fix: removed unwanted newlines 2025-09-25 15:34:01 +02:00
Thomas Schweiger
3417413e61 fix: remove unneeded file 2025-09-25 12:11:29 +02:00
Thomas Schweiger
5003888b9f enhance: enable OCM app in a nice way 2025-09-25 12:09:51 +02:00
Thomas Schweiger
2c049e34f0 new config to have ocm enabled 2025-09-24 07:47:26 +02:00
Thomas Schweiger
d042ce7b61 Revert logging options 2025-09-23 11:39:43 +02:00
Thomas Schweiger
52227d4f61 Enable OCM in UI and backend 2025-09-23 11:07:35 +02:00
5 changed files with 74 additions and 2 deletions

View File

@@ -0,0 +1,46 @@
[
{
"name": "host.docker.internal:9200",
"full_name": "host.docker.internal 9200",
"organization": "OpenCloud",
"domain": "host.docker.internal:9200",
"homepage": "https://opencloud.eu",
"services": [
{
"endpoint": {
"type": {
"name": "OCM",
"description": "OpenCloud Open Cloud Mesh API"
},
"name": "OpenCloud - OCM API",
"path": "https://host.docker.internal:9200/ocm/",
"is_monitored": true
},
"api_version": "0.0.1",
"host": "host.docker.internal:9200"
}
]
},
{
"name": "cloud.opencloud.test",
"full_name": "cloud.opencloud.test",
"organization": "OpenCloud",
"domain": "cloud.opencloud.test",
"homepage": "https://opencloud.eu",
"services": [
{
"endpoint": {
"type": {
"name": "OCM",
"description": "OpenCloud Open Cloud Mesh API"
},
"name": "OpenCloud - OCM API",
"path": "https://cloud.opencloud.test/ocm/",
"is_monitored": true
},
"api_version": "0.0.1",
"host": "cloud.opencloud.test"
}
]
}
]

14
config/opencloud/web.yaml Normal file
View File

@@ -0,0 +1,14 @@
# OpenCloud web configuration
web:
config:
apps:
- files
- search
- text-editor
- pdf-viewer
- external
- admin-settings
- epub-reader
- preview
- app-store
- ocm

View File

@@ -51,13 +51,25 @@ services:
OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}" OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}"
OC_PASSWORD_POLICY_MIN_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}" OC_PASSWORD_POLICY_MIN_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}"
OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-1}" OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-1}"
# OCM
OC_ENABLE_OCM: "true"
OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE: "/etc/opencloud/ocmproviders.json"
OCM_OCM_INVITE_MANAGER_INSECURE: "true"
OCM_OCM_SHARE_PROVIDER_INSECURE: "true"
OCM_OCM_STORAGE_PROVIDER_INSECURE: "true"
GRAPH_INCLUDE_OCM_SHAREES: "true"
volumes: volumes:
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml - ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
- ./config/opencloud/banned-password-list.txt:/etc/opencloud/banned-password-list.txt - ./config/opencloud/banned-password-list.txt:/etc/opencloud/banned-password-list.txt
- ./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 # configure the .env file to use own paths instead of docker internal volumes
- ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud - ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
- ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud - ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud
- ${OC_APPS_DIR:-./config/opencloud/apps}:/var/lib/opencloud/web/assets/apps - ${OC_APPS_DIR:-./config/opencloud/apps}:/var/lib/opencloud/web/assets/apps
logging: logging:
driver: ${LOG_DRIVER:-local} driver: ${LOG_DRIVER:-local}
restart: always restart: always

View File

@@ -65,7 +65,7 @@ services:
restart: always restart: always
postgres: postgres:
image: postgres:17-alpine image: postgres:alpine
networks: networks:
opencloud-net: opencloud-net:
volumes: volumes:

View File

@@ -1,7 +1,7 @@
--- ---
services: services:
postgres: postgres:
image: postgres:17-alpine image: postgres:alpine
networks: networks:
opencloud-net: opencloud-net:
volumes: volumes: