mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
Compare commits
19 Commits
add_minio
...
bump-maps-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39f40fa0f7 | ||
|
|
f24923f95e | ||
|
|
4f79e9ab7b | ||
|
|
cd5d97cda9 | ||
|
|
b501311d0f | ||
|
|
85deada0d2 | ||
|
|
522ced8c96 | ||
|
|
0622cf6e60 | ||
|
|
69b40132c0 | ||
|
|
f466650a97 | ||
|
|
a27c40c4dc | ||
|
|
94c8075b36 | ||
|
|
7543aa2eec | ||
|
|
d51d43825a | ||
|
|
723fb73fb4 | ||
|
|
16dd321bf2 | ||
|
|
d3f0044fe3 | ||
|
|
f3c5f8f591 | ||
|
|
fc560119f4 |
12
.env.example
12
.env.example
@@ -134,12 +134,7 @@ DECOMPOSEDS3_ACCESS_KEY=
|
|||||||
DECOMPOSEDS3_SECRET_KEY=
|
DECOMPOSEDS3_SECRET_KEY=
|
||||||
# S3 bucket. Defaults to "opencloud"
|
# S3 bucket. Defaults to "opencloud"
|
||||||
DECOMPOSEDS3_BUCKET=
|
DECOMPOSEDS3_BUCKET=
|
||||||
#
|
|
||||||
# For testing purposes, add local minio S3 storage to the docker-compose file.
|
|
||||||
# The leading colon is required to enable the service.
|
|
||||||
DECOMPOSEDS3_MINIO=:minio.yml
|
|
||||||
# Minio domain. Defaults to "minio.opencloud.test".
|
|
||||||
MINIO_DOMAIN=
|
|
||||||
|
|
||||||
# Define SMTP settings if you would like to send OpenCloud email notifications.
|
# Define SMTP settings if you would like to send OpenCloud email notifications.
|
||||||
# To actually send notifications, you also need to enable the 'notifications' service
|
# To actually send notifications, you also need to enable the 'notifications' service
|
||||||
@@ -209,6 +204,11 @@ COLLABORA_SSL_ENABLE=false
|
|||||||
# If you're on an internet-facing server, enable SSL verification for Collabora Online.
|
# If you're on an internet-facing server, enable SSL verification for Collabora Online.
|
||||||
# Please comment out the following line:
|
# Please comment out the following line:
|
||||||
COLLABORA_SSL_VERIFICATION=false
|
COLLABORA_SSL_VERIFICATION=false
|
||||||
|
# Enable home mode in Collabore Online.
|
||||||
|
# Home users can enable this setting, which in turn disables welcome screen and user feedback popups,
|
||||||
|
# but also limits concurrent open connections to 20 and concurrent open documents to 10.
|
||||||
|
# Default is false if not specified.
|
||||||
|
COLLABORA_HOME_MODE=
|
||||||
|
|
||||||
|
|
||||||
### Virusscanner Settings ###
|
### Virusscanner Settings ###
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@
|
|||||||
# exclude the apps folder
|
# exclude the apps folder
|
||||||
/config/opencloud/apps/*
|
/config/opencloud/apps/*
|
||||||
!/config/opencloud/apps/.gitkeep
|
!/config/opencloud/apps/.gitkeep
|
||||||
|
!/config/opencloud/apps/maps
|
||||||
|
|
||||||
# exclude custom compose files
|
# exclude custom compose files
|
||||||
/custom
|
/custom
|
||||||
|
|||||||
23
README.md
23
README.md
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
This repository provides Docker Compose configurations for deploying OpenCloud in various environments.
|
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
|
## Overview
|
||||||
|
|
||||||
OpenCloud Compose offers a modular approach to deploying OpenCloud with several configuration options:
|
OpenCloud Compose offers a modular approach to deploying OpenCloud with several configuration options:
|
||||||
@@ -73,26 +76,6 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
|
|||||||
- Username: `admin`
|
- Username: `admin`
|
||||||
- Password: value of your `INITIAL_ADMIN_PASSWORD`
|
- 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
|
## Deployment Options
|
||||||
|
|
||||||
### With Keycloak and LDAP using a Shared User Directory
|
### With Keycloak and LDAP using a Shared User Directory
|
||||||
|
|||||||
21
config/opencloud/apps/maps/js/maps-uKkx1qsf.js
Normal file
21
config/opencloud/apps/maps/js/maps-uKkx1qsf.js
Normal file
File diff suppressed because one or more lines are too long
3
config/opencloud/apps/maps/manifest.json
Normal file
3
config/opencloud/apps/maps/manifest.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"entrypoint": "js/maps-uKkx1qsf.js"
|
||||||
|
}
|
||||||
@@ -28,6 +28,7 @@ directives:
|
|||||||
- 'data:'
|
- 'data:'
|
||||||
- 'blob:'
|
- 'blob:'
|
||||||
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
||||||
|
- 'https://tile.openstreetmap.org/'
|
||||||
# In contrary to bash and docker the default is given after the | character
|
# In contrary to bash and docker the default is given after the | character
|
||||||
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}/'
|
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}/'
|
||||||
manifest-src:
|
manifest-src:
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
services:
|
|
||||||
minio:
|
|
||||||
image: minio/minio:latest
|
|
||||||
# release notes: https://github.com/minio/minio/releases
|
|
||||||
networks:
|
|
||||||
opencloud-net:
|
|
||||||
entrypoint:
|
|
||||||
- /bin/sh
|
|
||||||
command:
|
|
||||||
[
|
|
||||||
"-c",
|
|
||||||
"mkdir -p /data/${DECOMPOSEDS3_BUCKET:-opencloud-bucket} && minio server --console-address ':9001' /data",
|
|
||||||
]
|
|
||||||
volumes:
|
|
||||||
- minio-data:/data
|
|
||||||
environment:
|
|
||||||
MINIO_ROOT_USER: ${DECOMPOSEDS3_ACCESS_KEY:-opencloud}
|
|
||||||
MINIO_ROOT_PASSWORD: ${DECOMPOSEDS3_SECRET_KEY:-opencloud-secret-key}
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.minio.entrypoints=https"
|
|
||||||
- "traefik.http.routers.minio.rule=Host(`${MINIO_DOMAIN:-minio.opencloud.test}`)"
|
|
||||||
- "traefik.http.routers.minio.tls.certresolver=http"
|
|
||||||
- "traefik.http.routers.minio.service=minio"
|
|
||||||
- "traefik.http.services.minio.loadbalancer.server.port=9001"
|
|
||||||
logging:
|
|
||||||
driver: ${LOG_DRIVER:-local}
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
minio-data:
|
|
||||||
@@ -9,7 +9,7 @@ services:
|
|||||||
NATS_NATS_HOST: 0.0.0.0
|
NATS_NATS_HOST: 0.0.0.0
|
||||||
GATEWAY_GRPC_ADDR: 0.0.0.0:9142
|
GATEWAY_GRPC_ADDR: 0.0.0.0:9142
|
||||||
# make collabora the secure view app
|
# make collabora the secure view app
|
||||||
FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR: eu.opencloud.api.collaboration.CollaboraOnline
|
FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR: eu.opencloud.api.collaboration
|
||||||
GRAPH_AVAILABLE_ROLES: "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5,a8d5fe5e-96e3-418d-825b-534dbdf22b99,fb6c3e19-e378-47e5-b277-9732f9de6e21,58c63c02-1d89-4572-916a-870abc5a1b7d,2d00ce52-1fc2-4dbc-8b95-a73b73395f5a,1c996275-f1c9-4e71-abdf-a42f6495e960,312c0871-5ef7-4b3a-85b6-0e4074c64049,aa97fe03-7980-45ac-9e50-b325749fd7e6"
|
GRAPH_AVAILABLE_ROLES: "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5,a8d5fe5e-96e3-418d-825b-534dbdf22b99,fb6c3e19-e378-47e5-b277-9732f9de6e21,58c63c02-1d89-4572-916a-870abc5a1b7d,2d00ce52-1fc2-4dbc-8b95-a73b73395f5a,1c996275-f1c9-4e71-abdf-a42f6495e960,312c0871-5ef7-4b3a-85b6-0e4074c64049,aa97fe03-7980-45ac-9e50-b325749fd7e6"
|
||||||
|
|
||||||
collaboration:
|
collaboration:
|
||||||
@@ -58,11 +58,18 @@ services:
|
|||||||
--o:ssl.ssl_verification=${COLLABORA_SSL_VERIFICATION:-true} \
|
--o:ssl.ssl_verification=${COLLABORA_SSL_VERIFICATION:-true} \
|
||||||
--o:ssl.termination=true \
|
--o:ssl.termination=true \
|
||||||
--o:welcome.enable=false \
|
--o:welcome.enable=false \
|
||||||
--o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test}
|
--o:net.frame_ancestors=${OC_DOMAIN:-cloud.opencloud.test} \
|
||||||
|
--o:net.lok_allow.host[14]=${OC_DOMAIN-cloud.opencloud.test} \
|
||||||
|
--o:home_mode.enable=${COLLABORA_HOME_MODE:-false}
|
||||||
username: ${COLLABORA_ADMIN_USER:-admin}
|
username: ${COLLABORA_ADMIN_USER:-admin}
|
||||||
password: ${COLLABORA_ADMIN_PASSWORD:-admin}
|
password: ${COLLABORA_ADMIN_PASSWORD:-admin}
|
||||||
cap_add:
|
cap_add:
|
||||||
- MKNOD
|
- MKNOD
|
||||||
|
volumes:
|
||||||
|
# Mount local TrueType fonts so the container can use system fonts
|
||||||
|
# (e.g. Microsoft fonts like Arial, Calibri, Cambria by installing the `ttf-mscorefonts-installer` package).
|
||||||
|
- /usr/share/fonts/truetype:/usr/share/fonts/truetype/more:ro
|
||||||
|
- /usr/share/fonts/truetype:/opt/cool/systemplate/usr/share/fonts/truetype/more:ro
|
||||||
logging:
|
logging:
|
||||||
driver: ${LOG_DRIVER:-local}
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user