mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
Compare commits
1 Commits
bump-maps-
...
refactor-c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab8def29ba |
22
.env.example
22
.env.example
@@ -56,10 +56,10 @@ TRAEFIK_SERVICES_TLS_CONFIG="tls.certresolver=letsencrypt"
|
|||||||
# certificates:
|
# certificates:
|
||||||
# - certFile: /certs/opencloud.test.crt
|
# - certFile: /certs/opencloud.test.crt
|
||||||
# keyFile: /certs/opencloud.test.key
|
# keyFile: /certs/opencloud.test.key
|
||||||
# stores:
|
# stores:
|
||||||
# - default
|
# - default
|
||||||
#
|
#
|
||||||
# The certificates need to be copied into ./certs/, the absolute path inside the container is /certs/.
|
# The certificates need to copied into ./certs/, the absolute path inside the container is /certs/.
|
||||||
# You can also use TRAEFIK_CERTS_DIR=/path/on/host to set the path to the certificates directory.
|
# You can also use TRAEFIK_CERTS_DIR=/path/on/host to set the path to the certificates directory.
|
||||||
# Enable the access log for Traefik by setting the following variable to true.
|
# Enable the access log for Traefik by setting the following variable to true.
|
||||||
TRAEFIK_ACCESS_LOG=
|
TRAEFIK_ACCESS_LOG=
|
||||||
@@ -137,8 +137,6 @@ DECOMPOSEDS3_BUCKET=
|
|||||||
|
|
||||||
|
|
||||||
# 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
|
|
||||||
# by adding it to the START_ADDITIONAL_SERVICES variable below.
|
|
||||||
#
|
#
|
||||||
# NOTE: when configuring Inbucket, these settings have no effect, see inbucket.yml for details.
|
# NOTE: when configuring Inbucket, these settings have no effect, see inbucket.yml for details.
|
||||||
# SMTP host to connect to.
|
# SMTP host to connect to.
|
||||||
@@ -159,11 +157,12 @@ SMTP_TRANSPORT_ENCRYPTION=
|
|||||||
# Allow insecure connections to the SMTP server. Defaults to false.
|
# Allow insecure connections to the SMTP server. Defaults to false.
|
||||||
SMTP_INSECURE=
|
SMTP_INSECURE=
|
||||||
|
|
||||||
# Additional services to be started on opencloud startup
|
# Addititional services to be started on opencloud startup
|
||||||
# The following list of services is not started automatically and must be
|
# The following list of services is not startet automatically and must be
|
||||||
# manually defined for startup:
|
# manually defined for startup:
|
||||||
|
# IMPORTANT: The notification service is MANDATORY, do not delete!
|
||||||
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
|
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
|
||||||
START_ADDITIONAL_SERVICES=""
|
START_ADDITIONAL_SERVICES="notifications"
|
||||||
|
|
||||||
|
|
||||||
## Default Enabled Services ##
|
## Default Enabled Services ##
|
||||||
@@ -204,11 +203,6 @@ 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 ###
|
||||||
@@ -222,7 +216,7 @@ COLLABORA_HOME_MODE=
|
|||||||
# Defaults to "partial"
|
# Defaults to "partial"
|
||||||
#ANTIVIRUS_MAX_SCAN_SIZE_MODE=
|
#ANTIVIRUS_MAX_SCAN_SIZE_MODE=
|
||||||
# Image version of the ClamAV container.
|
# Image version of the ClamAV container.
|
||||||
# Defaults to "latest"
|
# Defaults to "latest"y
|
||||||
CLAMAV_DOCKER_TAG=
|
CLAMAV_DOCKER_TAG=
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,7 +5,6 @@
|
|||||||
# 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
|
||||||
|
|||||||
32
README.md
32
README.md
@@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
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:
|
||||||
@@ -45,9 +42,8 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
|
|||||||
|
|
||||||
3. **Set admin password**:
|
3. **Set admin password**:
|
||||||
set `INITIAL_ADMIN_PASSWORD=your_secure_password` environment variable in your `.env` file
|
set `INITIAL_ADMIN_PASSWORD=your_secure_password` environment variable in your `.env` file
|
||||||
4. **Domain**:
|
|
||||||
optionally, set `OC_DOMAIN=your-domain.com` to overwrite the default `cloud.opencloud.test`
|
4. **Configure deployment options**:
|
||||||
5. **Configure deployment options**:
|
|
||||||
|
|
||||||
You can deploy using explicit `-f` flags:
|
You can deploy using explicit `-f` flags:
|
||||||
```bash
|
```bash
|
||||||
@@ -64,18 +60,38 @@ OpenCloud Compose offers a modular approach to deploying OpenCloud with several
|
|||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
6. **Add local domains to `/etc/hosts`** (for local development only):
|
5. **Add local domains to `/etc/hosts`** (for local development only):
|
||||||
```
|
```
|
||||||
127.0.0.1 cloud.opencloud.test
|
127.0.0.1 cloud.opencloud.test
|
||||||
127.0.0.1 traefik.opencloud.test
|
127.0.0.1 traefik.opencloud.test
|
||||||
127.0.0.1 keycloak.opencloud.test
|
127.0.0.1 keycloak.opencloud.test
|
||||||
```
|
```
|
||||||
|
|
||||||
7. **Access OpenCloud**:
|
6. **Access OpenCloud**:
|
||||||
- URL: https://cloud.opencloud.test
|
- URL: https://cloud.opencloud.test
|
||||||
- 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
|
||||||
|
|||||||
@@ -676,7 +676,6 @@
|
|||||||
"profile",
|
"profile",
|
||||||
"roles",
|
"roles",
|
||||||
"groups",
|
"groups",
|
||||||
"OpenCloudUnique_ID",
|
|
||||||
"basic",
|
"basic",
|
||||||
"email"
|
"email"
|
||||||
],
|
],
|
||||||
@@ -2337,7 +2336,7 @@
|
|||||||
"always"
|
"always"
|
||||||
],
|
],
|
||||||
"usePasswordModifyExtendedOp": [
|
"usePasswordModifyExtendedOp": [
|
||||||
"true"
|
"false"
|
||||||
],
|
],
|
||||||
"trustEmail": [
|
"trustEmail": [
|
||||||
"false"
|
"false"
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
# apply acls
|
|
||||||
echo -n "Applying acls... "
|
|
||||||
slapmodify -F /opt/bitnami/openldap/etc/slapd.d -b cn=config -l /opt/bitnami/openldap/etc/schema/50_acls.ldif
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo "done."
|
|
||||||
else
|
|
||||||
echo "failed."
|
|
||||||
fi
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# OpenCloud ldap acl file which gets applied during the first db initialisation
|
|
||||||
dn: olcDatabase={2}mdb,cn=config
|
|
||||||
changetype: modify
|
|
||||||
replace: olcAccess
|
|
||||||
olcAccess: {0}to dn.subtree="dc=opencloud,dc=eu" attrs=entry,uid,objectClass,entryUUID
|
|
||||||
by * read
|
|
||||||
olcAccess: {1}to attrs=userPassword
|
|
||||||
by self write
|
|
||||||
by * auth
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"entrypoint": "js/maps-uKkx1qsf.js"
|
|
||||||
}
|
|
||||||
@@ -8,7 +8,6 @@ directives:
|
|||||||
- 'wss://${COMPANION_DOMAIN|companion.opencloud.test}/'
|
- 'wss://${COMPANION_DOMAIN|companion.opencloud.test}/'
|
||||||
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
||||||
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}/'
|
- 'https://${IDP_DOMAIN|keycloak.opencloud.test}/'
|
||||||
- 'https://update.opencloud.eu/'
|
|
||||||
default-src:
|
default-src:
|
||||||
- '''none'''
|
- '''none'''
|
||||||
font-src:
|
font-src:
|
||||||
@@ -28,7 +27,6 @@ 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:
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ services:
|
|||||||
# The openCloud users need to be able to edit their account in the externa IdP
|
# The openCloud users need to be able to edit their account in the externa IdP
|
||||||
WEB_OPTION_ACCOUNT_EDIT_LINK_HREF: ${IDP_ACCOUNT_URL}
|
WEB_OPTION_ACCOUNT_EDIT_LINK_HREF: ${IDP_ACCOUNT_URL}
|
||||||
ldap-server:
|
ldap-server:
|
||||||
image: bitnamilegacy/openldap:2.6
|
image: bitnami/openldap:2.6
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
entrypoint: [ "/bin/sh", "/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh", "/opt/bitnami/scripts/openldap/run.sh" ]
|
entrypoint: [ "/bin/sh", "/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh", "/opt/bitnami/scripts/openldap/run.sh" ]
|
||||||
@@ -57,6 +57,9 @@ services:
|
|||||||
LDAP_TLS_KEY_FILE: /opt/bitnami/openldap/share/openldap.key
|
LDAP_TLS_KEY_FILE: /opt/bitnami/openldap/share/openldap.key
|
||||||
LDAP_ROOT: "dc=opencloud,dc=eu"
|
LDAP_ROOT: "dc=opencloud,dc=eu"
|
||||||
LDAP_ADMIN_PASSWORD: ${LDAP_BIND_PASSWORD:-admin}
|
LDAP_ADMIN_PASSWORD: ${LDAP_BIND_PASSWORD:-admin}
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:389:1389"
|
||||||
|
- "127.0.0.1:636:1636"
|
||||||
volumes:
|
volumes:
|
||||||
# Only use the base ldif file to create the base structure
|
# Only use the base ldif file to create the base structure
|
||||||
- ./config/ldap/ldif/10_base.ldif:/ldifs/10_base.ldif
|
- ./config/ldap/ldif/10_base.ldif:/ldifs/10_base.ldif
|
||||||
@@ -65,7 +68,6 @@ services:
|
|||||||
- ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
|
- ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
|
||||||
- ${LDAP_CERTS_DIR:-ldap-certs}:/opt/bitnami/openldap/share
|
- ${LDAP_CERTS_DIR:-ldap-certs}:/opt/bitnami/openldap/share
|
||||||
- ${LDAP_DATA_DIR:-ldap-data}:/bitnami/openldap
|
- ${LDAP_DATA_DIR:-ldap-data}:/bitnami/openldap
|
||||||
restart: always
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ldap-certs:
|
ldap-certs:
|
||||||
|
|||||||
@@ -51,11 +51,12 @@ services:
|
|||||||
LDAP_TLS_KEY_FILE: /opt/bitnami/openldap/share/openldap.key
|
LDAP_TLS_KEY_FILE: /opt/bitnami/openldap/share/openldap.key
|
||||||
LDAP_ROOT: "dc=opencloud,dc=eu"
|
LDAP_ROOT: "dc=opencloud,dc=eu"
|
||||||
LDAP_ADMIN_PASSWORD: ${LDAP_BIND_PASSWORD:-admin}
|
LDAP_ADMIN_PASSWORD: ${LDAP_BIND_PASSWORD:-admin}
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:389:1389"
|
||||||
|
- "127.0.0.1:636:1636"
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/ldap/ldif/10_base.ldif:/ldifs/10_base.ldif
|
- ./config/ldap/ldif/10_base.ldif:/ldifs/10_base.ldif
|
||||||
- ./config/ldap/ldif/20_admin.ldif:/ldifs/20_admin.ldif
|
- ./config/ldap/ldif/20_admin.ldif:/ldifs/20_admin.ldif
|
||||||
- ./config/ldap/ldif/50_acls.ldif:/opt/bitnami/openldap/etc/schema/50_acls.ldif
|
|
||||||
- ./config/ldap/init-ldap-acls.sh:/docker-entrypoint-initdb.d/init-ldap-acls.sh
|
|
||||||
- ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
|
- ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
|
||||||
- ldap-certs:/opt/bitnami/openldap/share
|
- ldap-certs:/opt/bitnami/openldap/share
|
||||||
- ldap-data:/bitnami/openldap
|
- ldap-data:/bitnami/openldap
|
||||||
@@ -64,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:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:alpine
|
||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -6,14 +6,14 @@ services:
|
|||||||
aliases:
|
aliases:
|
||||||
- ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
- ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
||||||
- ${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}
|
- ${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}
|
||||||
collaboration:
|
# collaboration:
|
||||||
labels:
|
# labels:
|
||||||
- "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
- "traefik.http.routers.collaboration.entrypoints=https"
|
# - "traefik.http.routers.collaboration.entrypoints=https"
|
||||||
- "traefik.http.routers.collaboration.rule=Host(`${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}`)"
|
# - "traefik.http.routers.collaboration.rule=Host(`${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}`)"
|
||||||
- "traefik.http.routers.collaboration.${TRAEFIK_SERVICES_TLS_CONFIG}"
|
# - "traefik.http.routers.collaboration.${TRAEFIK_SERVICES_TLS_CONFIG}"
|
||||||
- "traefik.http.routers.collaboration.service=collaboration"
|
# - "traefik.http.routers.collaboration.service=collaboration"
|
||||||
- "traefik.http.services.collaboration.loadbalancer.server.port=9300"
|
# - "traefik.http.services.collaboration.loadbalancer.server.port=9300"
|
||||||
collabora:
|
collabora:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|||||||
@@ -6,30 +6,14 @@ services:
|
|||||||
# this is needed for setting the correct CSP header
|
# this is needed for setting the correct CSP header
|
||||||
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
||||||
# expose nats and the reva gateway for the collaboration service
|
# expose nats and the reva gateway for the collaboration service
|
||||||
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
|
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_GRPC_ADDR: 0.0.0.0:9301
|
||||||
collaboration:
|
# COLLABORATION_HTTP_ADDR: 0.0.0.0:9300
|
||||||
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-latest}
|
COLLABORATION_WOPI_SRC: https://${OC_DOMAIN:-cloud.opencloud.test}
|
||||||
networks:
|
|
||||||
opencloud-net:
|
|
||||||
depends_on:
|
|
||||||
opencloud:
|
|
||||||
condition: service_started
|
|
||||||
collabora:
|
|
||||||
condition: service_healthy
|
|
||||||
entrypoint:
|
|
||||||
- /bin/sh
|
|
||||||
command: [ "-c", "opencloud collaboration server" ]
|
|
||||||
environment:
|
|
||||||
COLLABORATION_GRPC_ADDR: 0.0.0.0:9301
|
|
||||||
COLLABORATION_HTTP_ADDR: 0.0.0.0:9300
|
|
||||||
MICRO_REGISTRY: "nats-js-kv"
|
|
||||||
MICRO_REGISTRY_ADDRESS: "opencloud:9233"
|
|
||||||
COLLABORATION_WOPI_SRC: https://${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}
|
|
||||||
COLLABORATION_APP_NAME: "CollaboraOnline"
|
COLLABORATION_APP_NAME: "CollaboraOnline"
|
||||||
COLLABORATION_APP_PRODUCT: "Collabora"
|
COLLABORATION_APP_PRODUCT: "Collabora"
|
||||||
COLLABORATION_APP_ADDR: https://${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
COLLABORATION_APP_ADDR: https://${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
||||||
@@ -37,13 +21,39 @@ services:
|
|||||||
COLLABORATION_APP_INSECURE: "${INSECURE:-true}"
|
COLLABORATION_APP_INSECURE: "${INSECURE:-true}"
|
||||||
COLLABORATION_CS3API_DATAGATEWAY_INSECURE: "${INSECURE:-true}"
|
COLLABORATION_CS3API_DATAGATEWAY_INSECURE: "${INSECURE:-true}"
|
||||||
COLLABORATION_LOG_LEVEL: ${LOG_LEVEL:-info}
|
COLLABORATION_LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||||
OC_URL: https://${OC_DOMAIN:-cloud.opencloud.test}
|
|
||||||
volumes:
|
# collaboration:
|
||||||
# configure the .env file to use own paths instead of docker internal volumes
|
# image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-latest}
|
||||||
- ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
|
# networks:
|
||||||
logging:
|
# opencloud-net:
|
||||||
driver: ${LOG_DRIVER:-local}
|
# depends_on:
|
||||||
restart: always
|
# opencloud:
|
||||||
|
# condition: service_started
|
||||||
|
# collabora:
|
||||||
|
# condition: service_healthy
|
||||||
|
# entrypoint:
|
||||||
|
# - /bin/sh
|
||||||
|
# command: [ "-c", "opencloud collaboration server" ]
|
||||||
|
# environment:
|
||||||
|
# COLLABORATION_GRPC_ADDR: 0.0.0.0:9301
|
||||||
|
# COLLABORATION_HTTP_ADDR: 0.0.0.0:9300
|
||||||
|
# MICRO_REGISTRY: "nats-js-kv"
|
||||||
|
# MICRO_REGISTRY_ADDRESS: "opencloud:9233"
|
||||||
|
# COLLABORATION_WOPI_SRC: https://${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}
|
||||||
|
# COLLABORATION_APP_NAME: "CollaboraOnline"
|
||||||
|
# COLLABORATION_APP_PRODUCT: "Collabora"
|
||||||
|
# COLLABORATION_APP_ADDR: https://${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
||||||
|
# COLLABORATION_APP_ICON: https://${COLLABORA_DOMAIN:-collabora.opencloud.test}/favicon.ico
|
||||||
|
# COLLABORATION_APP_INSECURE: "${INSECURE:-true}"
|
||||||
|
# COLLABORATION_CS3API_DATAGATEWAY_INSECURE: "${INSECURE:-true}"
|
||||||
|
# COLLABORATION_LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||||
|
# OC_URL: https://${OC_DOMAIN:-cloud.opencloud.test}
|
||||||
|
# volumes:
|
||||||
|
# # configure the .env file to use own paths instead of docker internal volumes
|
||||||
|
# - ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
|
||||||
|
# logging:
|
||||||
|
# driver: ${LOG_DRIVER:-local}
|
||||||
|
# restart: always
|
||||||
|
|
||||||
collabora:
|
collabora:
|
||||||
image: collabora/code:25.04.4.2.1
|
image: collabora/code:25.04.4.2.1
|
||||||
@@ -51,30 +61,23 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
opencloud-net:
|
opencloud-net:
|
||||||
environment:
|
environment:
|
||||||
aliasgroup1: https://${WOPISERVER_DOMAIN:-wopiserver.opencloud.test}:443
|
aliasgroup1: https://${OC_DOMAIN:-cloud.opencloud.test}:443
|
||||||
DONT_GEN_SSL_CERT: "YES"
|
DONT_GEN_SSL_CERT: "YES"
|
||||||
extra_params: |
|
extra_params: |
|
||||||
--o:ssl.enable=${COLLABORA_SSL_ENABLE:-true} \
|
--o:ssl.enable=${COLLABORA_SSL_ENABLE:-true} \
|
||||||
--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
|
||||||
entrypoint: [ '/bin/bash', '-c' ]
|
entrypoint: ['/bin/bash', '-c']
|
||||||
command: [ 'coolconfig generate-proof-key && /start-collabora-online.sh' ]
|
command: ['coolconfig generate-proof-key && /start-collabora-online.sh']
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ]
|
test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
|
|||||||
Reference in New Issue
Block a user