mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
Compare commits
6 Commits
web/issues
...
enable-ocm
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc3044868e | ||
|
|
3417413e61 | ||
|
|
5003888b9f | ||
|
|
2c049e34f0 | ||
|
|
d042ce7b61 | ||
|
|
52227d4f61 |
46
config/opencloud/opencloud.storage.ocmproviders.json
Normal file
46
config/opencloud/opencloud.storage.ocmproviders.json
Normal 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
14
config/opencloud/web.yaml
Normal 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
|
||||
@@ -51,13 +51,25 @@ services:
|
||||
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_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:
|
||||
- ./config/opencloud/csp.yaml:/etc/opencloud/csp.yaml
|
||||
- ./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
|
||||
- ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
|
||||
- ${OC_DATA_DIR:-opencloud-data}:/var/lib/opencloud
|
||||
- ${OC_APPS_DIR:-./config/opencloud/apps}:/var/lib/opencloud/web/assets/apps
|
||||
|
||||
logging:
|
||||
driver: ${LOG_DRIVER:-local}
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user