Skip to content

Commit a7116b8

Browse files
committed
First try to get hocuspocus into pullpreview
1 parent 8989e98 commit a7116b8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docker/pullpreview/docker-compose.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)