mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 12:10:05 +08:00
Compare commits
2 Commits
enable-ocm
...
move_produ
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3c5f8f591 | ||
|
|
fc560119f4 |
23
README.md
23
README.md
@@ -2,6 +2,9 @@
|
||||
|
||||
This repository provides Docker Compose configurations for deploying OpenCloud in various environments.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Please use the [official docs](https://docs.opencloud.eu/docs/admin/getting-started/container/docker-compose/docker-compose-base) for a **Production Deployment**.
|
||||
|
||||
## Overview
|
||||
|
||||
OpenCloud Compose offers a modular approach to deploying OpenCloud with several configuration options:
|
||||
@@ -72,26 +75,6 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
|
||||
- Username: `admin`
|
||||
- Password: value of your `INITIAL_ADMIN_PASSWORD`
|
||||
|
||||
### Production Deployment
|
||||
|
||||
> **DNS Requirements**: For production deployments, you need real DNS entries pointing to your server for all required subdomains. You can either create individual DNS A/AAAA records for each subdomain (e.g., `cloud.example.com`, `collabora.example.com`, `keycloak.example.com`) or use a wildcard DNS entry (`*.example.com`) that covers all subdomains.
|
||||
|
||||
1. **Edit the `.env` file** and configure:
|
||||
- Domain names (replace `.opencloud.test` domains with your real domains)
|
||||
- Admin password
|
||||
- SSL certificate email
|
||||
- Storage paths
|
||||
|
||||
2. **Configure deployment options** in `.env`:
|
||||
```
|
||||
COMPOSE_FILE=docker-compose.yml:weboffice/collabora.yml:traefik/opencloud.yml:traefik/collabora.yml
|
||||
```
|
||||
|
||||
3. **Start OpenCloud**:
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## Deployment Options
|
||||
|
||||
### With Keycloak and LDAP using a Shared User Directory
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1,14 +0,0 @@
|
||||
# OpenCloud web configuration
|
||||
web:
|
||||
config:
|
||||
apps:
|
||||
- files
|
||||
- search
|
||||
- text-editor
|
||||
- pdf-viewer
|
||||
- external
|
||||
- admin-settings
|
||||
- epub-reader
|
||||
- preview
|
||||
- app-store
|
||||
- ocm
|
||||
@@ -51,25 +51,13 @@ 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