Merge pull request #798 from opencloud-eu/rm-oo-from-full-deployment-example
chore: remove OO from full deployment example
This commit is contained in:
@@ -182,7 +182,7 @@ COLLABORA=:collabora.yml
|
|||||||
# Domain of Collabora, where you can find the frontend.
|
# Domain of Collabora, where you can find the frontend.
|
||||||
# Defaults to "collabora.opencloud.test"
|
# Defaults to "collabora.opencloud.test"
|
||||||
COLLABORA_DOMAIN=
|
COLLABORA_DOMAIN=
|
||||||
# Domain of the wopiserver which handles OnlyOffice.
|
# Domain of the wopiserver which handles Collabora.
|
||||||
# Defaults to "wopiserver.opencloud.test"
|
# Defaults to "wopiserver.opencloud.test"
|
||||||
WOPISERVER_DOMAIN=
|
WOPISERVER_DOMAIN=
|
||||||
# Admin user for Collabora.
|
# Admin user for Collabora.
|
||||||
@@ -225,19 +225,10 @@ COLLABORA_SSL_VERIFICATION=false
|
|||||||
# 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=
|
||||||
|
|
||||||
|
|
||||||
### OnlyOffice Settings ###
|
|
||||||
# Note: the leading colon is required to enable the service.
|
|
||||||
#ONLYOFFICE=:onlyoffice.yml
|
|
||||||
# Domain for OnlyOffice. Defaults to "onlyoffice.opencloud.test".
|
|
||||||
ONLYOFFICE_DOMAIN=
|
|
||||||
# Domain for the wopiserver which handles OnlyOffice.
|
|
||||||
WOPISERVER_ONLYOFFICE_DOMAIN=
|
|
||||||
|
|
||||||
|
|
||||||
### Inbucket Settings ###
|
### Inbucket Settings ###
|
||||||
# Inbucket is a mail catcher tool for testing purposes.
|
# Inbucket is a mail catcher tool for testing purposes.
|
||||||
# DO NOT use in Production.
|
# DO NOT use in Production.
|
||||||
@@ -313,4 +304,4 @@ KEYCLOAK_ADMIN_PASSWORD=
|
|||||||
# This MUST be the last line as it assembles the supplemental compose files to be used.
|
# This MUST be the last line as it assembles the supplemental compose files to be used.
|
||||||
# ALL supplemental configs must be added here, whether commented or not.
|
# ALL supplemental configs must be added here, whether commented or not.
|
||||||
# Each var must either be empty or contain :path/file.yml
|
# Each var must either be empty or contain :path/file.yml
|
||||||
COMPOSE_FILE=docker-compose.yml${OPENCLOUD:-}${TIKA:-}${DECOMPOSEDS3:-}${DECOMPOSEDS3_MINIO:-}${DECOMPOSED:-}${COLLABORA:-}${MONITORING:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${INBUCKET:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${KEYCLOAK:-}${LDAP:-}${KEYCLOAK_AUTOPROVISIONING:-}${LDAP_MANAGER:-}${RADICALE:-}
|
COMPOSE_FILE=docker-compose.yml${OPENCLOUD:-}${TIKA:-}${DECOMPOSEDS3:-}${DECOMPOSEDS3_MINIO:-}${DECOMPOSED:-}${COLLABORA:-}${MONITORING:-}${IMPORTER:-}${CLAMAV:-}${INBUCKET:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${KEYCLOAK:-}${LDAP:-}${KEYCLOAK_AUTOPROVISIONING:-}${LDAP_MANAGER:-}${RADICALE:-}
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# we can't mount it directly because the run-document-server.sh script wants to move it
|
|
||||||
cp /etc/onlyoffice/documentserver/local.dist.json /etc/onlyoffice/documentserver/local.json
|
|
||||||
|
|
||||||
/app/ds/run-document-server.sh
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
{
|
|
||||||
"services": {
|
|
||||||
"CoAuthoring": {
|
|
||||||
"sql": {
|
|
||||||
"type": "postgres",
|
|
||||||
"dbHost": "localhost",
|
|
||||||
"dbPort": "5432",
|
|
||||||
"dbName": "onlyoffice",
|
|
||||||
"dbUser": "onlyoffice",
|
|
||||||
"dbPass": "onlyoffice"
|
|
||||||
},
|
|
||||||
"token": {
|
|
||||||
"enable": {
|
|
||||||
"request": {
|
|
||||||
"inbox": true,
|
|
||||||
"outbox": true
|
|
||||||
},
|
|
||||||
"browser": true
|
|
||||||
},
|
|
||||||
"inbox": {
|
|
||||||
"header": "Authorization"
|
|
||||||
},
|
|
||||||
"outbox": {
|
|
||||||
"header": "Authorization"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"secret": {
|
|
||||||
"inbox": {
|
|
||||||
"string": "B8LjkNqGxn6gf8bkuBUiMwyuCFwFddnu"
|
|
||||||
},
|
|
||||||
"outbox": {
|
|
||||||
"string": "B8LjkNqGxn6gf8bkuBUiMwyuCFwFddnu"
|
|
||||||
},
|
|
||||||
"session": {
|
|
||||||
"string": "B8LjkNqGxn6gf8bkuBUiMwyuCFwFddnu"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rabbitmq": {
|
|
||||||
"url": "amqp://guest:guest@localhost"
|
|
||||||
},
|
|
||||||
"FileConverter": {
|
|
||||||
"converter": {
|
|
||||||
"inputLimits": [
|
|
||||||
{
|
|
||||||
"type": "docx;dotx;docm;dotm",
|
|
||||||
"zip": {
|
|
||||||
"uncompressed": "1GB",
|
|
||||||
"template": "*.xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "xlsx;xltx;xlsm;xltm",
|
|
||||||
"zip": {
|
|
||||||
"uncompressed": "1GB",
|
|
||||||
"template": "*.xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "pptx;ppsx;potx;pptm;ppsm;potm",
|
|
||||||
"zip": {
|
|
||||||
"uncompressed": "1GB",
|
|
||||||
"template": "*.xml"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -19,7 +19,6 @@ directives:
|
|||||||
- 'blob:'
|
- 'blob:'
|
||||||
- 'https://embed.diagrams.net/'
|
- 'https://embed.diagrams.net/'
|
||||||
# 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://${ONLYOFFICE_DOMAIN|onlyoffice.opencloud.test}/'
|
|
||||||
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}/'
|
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}/'
|
||||||
# This is needed for the external-sites web extension when embedding sites
|
# This is needed for the external-sites web extension when embedding sites
|
||||||
- 'https://docs.opencloud.eu'
|
- 'https://docs.opencloud.eu'
|
||||||
@@ -29,7 +28,6 @@ directives:
|
|||||||
- 'blob:'
|
- 'blob:'
|
||||||
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
- 'https://raw.githubusercontent.com/opencloud-eu/awesome-apps/'
|
||||||
# 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://${ONLYOFFICE_DOMAIN|onlyoffice.opencloud.test}/'
|
|
||||||
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}/'
|
- 'https://${COLLABORA_DOMAIN|collabora.opencloud.test}/'
|
||||||
manifest-src:
|
manifest-src:
|
||||||
- '''self'''
|
- '''self'''
|
||||||
|
|||||||
@@ -1,86 +0,0 @@
|
|||||||
---
|
|
||||||
services:
|
|
||||||
traefik:
|
|
||||||
networks:
|
|
||||||
opencloud-net:
|
|
||||||
aliases:
|
|
||||||
- ${ONLYOFFICE_DOMAIN:-onlyoffice.opencloud.test}
|
|
||||||
- ${WOPISERVER_ONLYOFFICE_DOMAIN:-wopiserver-oo.opencloud.test}
|
|
||||||
|
|
||||||
collaboration-oo:
|
|
||||||
image: ${OC_DOCKER_IMAGE:-opencloudeu/opencloud-rolling}:${OC_DOCKER_TAG:-latest}
|
|
||||||
networks:
|
|
||||||
opencloud-net:
|
|
||||||
depends_on:
|
|
||||||
opencloud:
|
|
||||||
condition: service_started
|
|
||||||
onlyoffice:
|
|
||||||
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_ONLYOFFICE_DOMAIN:-wopiserver-oo.opencloud.test}
|
|
||||||
COLLABORATION_APP_NAME: "OnlyOffice"
|
|
||||||
COLLABORATION_APP_PRODUCT: "OnlyOffice"
|
|
||||||
COLLABORATION_APP_ADDR: https://${ONLYOFFICE_DOMAIN:-onlyoffice.opencloud.test}
|
|
||||||
COLLABORATION_APP_ICON: https://${ONLYOFFICE_DOMAIN:-onlyoffice.opencloud.test}/web-apps/apps/documenteditor/main/resources/img/favicon.ico
|
|
||||||
COLLABORATION_APP_INSECURE: "${INSECURE:-true}"
|
|
||||||
COLLABORATION_CS3API_DATAGATEWAY_INSECURE: "${INSECURE:-true}"
|
|
||||||
COLLABORATION_LOG_LEVEL: ${LOG_LEVEL:-info}
|
|
||||||
COLLABORATION_APP_PROOF_DISABLE: "true"
|
|
||||||
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
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.collaboration-oo.entrypoints=https"
|
|
||||||
- "traefik.http.routers.collaboration-oo.rule=Host(`${WOPISERVER_ONLYOFFICE_DOMAIN:-wopiserver-oo.opencloud.test}`)"
|
|
||||||
- "traefik.http.routers.collaboration-oo.tls.certresolver=http"
|
|
||||||
- "traefik.http.routers.collaboration-oo.service=collaboration-oo"
|
|
||||||
- "traefik.http.services.collaboration-oo.loadbalancer.server.port=9300"
|
|
||||||
logging:
|
|
||||||
driver: ${LOG_DRIVER:-local}
|
|
||||||
restart: always
|
|
||||||
|
|
||||||
onlyoffice:
|
|
||||||
# if you want to use oo enterprise edition, use: onlyoffice/documentserver-ee:<version>
|
|
||||||
# note, you also need to add a volume, see below
|
|
||||||
image: onlyoffice/documentserver:8.2.2
|
|
||||||
# changelog https://github.com/ONLYOFFICE/DocumentServer/releases
|
|
||||||
networks:
|
|
||||||
opencloud-net:
|
|
||||||
entrypoint:
|
|
||||||
- /bin/sh
|
|
||||||
- /entrypoint-override.sh
|
|
||||||
environment:
|
|
||||||
WOPI_ENABLED: "true"
|
|
||||||
# self-signed certificates
|
|
||||||
USE_UNAUTHORIZED_STORAGE: "${INSECURE:-false}"
|
|
||||||
volumes:
|
|
||||||
# paths are relative to the main compose file
|
|
||||||
- ./config/onlyoffice/entrypoint-override.sh:/entrypoint-override.sh
|
|
||||||
- ./config/onlyoffice/local.json:/etc/onlyoffice/documentserver/local.dist.json
|
|
||||||
# if you want to use oo enterprise edition, you need to add a volume for the license file
|
|
||||||
# for details see: Registering your Enterprise Edition version -->
|
|
||||||
# https://helpcenter.onlyoffice.com/installation/docs-enterprise-install-docker.aspx
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.onlyoffice.entrypoints=https"
|
|
||||||
- "traefik.http.routers.onlyoffice.rule=Host(`${ONLYOFFICE_DOMAIN:-onlyoffice.opencloud.test}`)"
|
|
||||||
- "traefik.http.routers.onlyoffice.tls.certresolver=http"
|
|
||||||
- "traefik.http.routers.onlyoffice.service=onlyoffice"
|
|
||||||
- "traefik.http.services.onlyoffice.loadbalancer.server.port=80"
|
|
||||||
# websockets can't be opened when this is omitted
|
|
||||||
- "traefik.http.middlewares.onlyoffice.headers.customrequestheaders.X-Forwarded-Proto=https"
|
|
||||||
- "traefik.http.routers.onlyoffice.middlewares=onlyoffice"
|
|
||||||
logging:
|
|
||||||
driver: ${LOG_DRIVER:-local}
|
|
||||||
restart: always
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://localhost/hosting/discovery"]
|
|
||||||
@@ -53,7 +53,6 @@ services:
|
|||||||
PROXY_CSP_CONFIG_FILE_LOCATION: /etc/opencloud/csp.yaml
|
PROXY_CSP_CONFIG_FILE_LOCATION: /etc/opencloud/csp.yaml
|
||||||
# these three vars are needed to the csp config file to include the web office apps and the importer
|
# these three vars are needed to the csp config file to include the web office apps and the importer
|
||||||
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.opencloud.test}
|
||||||
ONLYOFFICE_DOMAIN: ${ONLYOFFICE_DOMAIN:-onlyoffice.opencloud.test}
|
|
||||||
COMPANION_DOMAIN: ${COMPANION_DOMAIN:-companion.opencloud.test}
|
COMPANION_DOMAIN: ${COMPANION_DOMAIN:-companion.opencloud.test}
|
||||||
# enable to allow using the banned passwords list
|
# enable to allow using the banned passwords list
|
||||||
OC_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: banned-password-list.txt
|
OC_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: banned-password-list.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user