Merge pull request #11491 from owncloud/fix-depl

fix: Fix debug docker for collabora and onlyoffice in example full deployment
This commit is contained in:
Roman Perekhod
2025-07-15 14:50:26 +02:00
committed by GitHub
4 changed files with 9 additions and 5 deletions

View File

@@ -1,9 +1,11 @@
---
services:
collaboration-oo:
command: [ "-c", "dlv --listen=:40002 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis collaboration server" ]
collaboration:
entrypoint:
- /bin/sh
command: [ "-c", "dlv --listen=:40000 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis collaboration server" ]
environment:
COLLABORATION_LOG_LEVEL: debug
ports:
- 40002:40002
- 40002:40000

View File

@@ -1,7 +1,9 @@
---
services:
collaboration:
collaboration-oo:
entrypoint:
- /bin/sh
command: [ "-c", "dlv --listen=:40000 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis collaboration server" ]
environment:
COLLABORATION_LOG_LEVEL: debug

View File

@@ -56,7 +56,7 @@ services:
# run ocis init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; exec ocis server"]
command: [ "-c", "ocis init || true; exec ocis server" ]
environment:
# Keycloak IDP specific configuration
PROXY_AUTOPROVISION_ACCOUNTS: "true"