make hocuspocus work out of the box (#140)

This commit is contained in:
Markus Kahl
2026-01-30 11:18:56 +00:00
committed by GitHub
parent 8a1dd91371
commit 2ddd73d1b6
2 changed files with 3 additions and 0 deletions

View File

@@ -17,5 +17,6 @@ RAILS_MIN_THREADS=4
RAILS_MAX_THREADS=16
PGDATA="/var/lib/postgresql/data"
OPDATA="/var/openproject/assets"
# URL the browser uses to connect to hocuspocus
COLLABORATIVE_SERVER_URL=ws://localhost:8080/hocuspocus
COLLABORATIVE_SERVER_SECRET=secret12345

View File

@@ -122,6 +122,8 @@ services:
image: openproject/hocuspocus:release-38128805
environment:
SECRET: ${COLLABORATIVE_SERVER_SECRET:-OVERRIDE_ME_PLEASE}
OPENPROJECT_DIRECT_URL: "${OPENPROJECT_URL:-http://web}"
OPENPROJECT_HOST: "${OPENPROJECT_HOST__NAME:-localhost:8080}"
networks:
- backend
- frontend