File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,11 @@ services:
3838 - backend
3939 depends_on :
4040 - web
41+ - hocuspocus
4142 ports :
4243 - " 80:80"
4344 - " 443:443"
45+ - " 1234:1234"
4446 volumes :
4547 - " caddy_data:/data"
4648
@@ -65,9 +67,23 @@ services:
6567 depends_on :
6668 - db
6769 - worker
70+ environment :
71+ - OPENPROJECT_COLLABORATIVE_EDITING_HOCUSPOCUS_URL=wss://${PULLPREVIEW_PUBLIC_DNS}:1234
6872
6973 worker :
7074 << : *defaults
7175 command : " ./docker/prod/worker --seed --set attachment_max_size=262144,host_name=${PULLPREVIEW_PUBLIC_DNS}"
7276 depends_on :
7377 - db
78+
79+ hocuspocus :
80+ image : openproject/hocuspocus:main-defdb238
81+
82+ networks :
83+ - frontend
84+ - backend
85+ environment :
86+ - ALLOWED_DOMAINS=${PULLPREVIEW_PUBLIC_DNS}
87+ - NODE_TLS_REJECT_UNAUTHORIZED=0
88+ expose :
89+ - " 1234"
You can’t perform that action at this time.
0 commit comments