Skip to content

Commit 31a991d

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

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docker/pullpreview/docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ services:
4141
ports:
4242
- "80:80"
4343
- "443:443"
44+
- "1234:1234"
4445
volumes:
4546
- "caddy_data:/data"
4647

@@ -65,9 +66,23 @@ services:
6566
depends_on:
6667
- db
6768
- worker
69+
environment:
70+
- OPENPROJECT_COLLABORATIVE_EDITING_HOCUSPOCUS_URL=wss://${PULLPREVIEW_PUBLIC_DNS}
6871

6972
worker:
7073
<<: *defaults
7174
command: "./docker/prod/worker --seed --set attachment_max_size=262144,host_name=${PULLPREVIEW_PUBLIC_DNS}"
7275
depends_on:
7376
- db
77+
78+
hocuspocus:
79+
image: openproject/hocuspocus:main-defdb238
80+
81+
networks:
82+
- frontend
83+
- backend
84+
environment:
85+
- ALLOWED_DOMAINS=${PULLPREVIEW_PUBLIC_DNS}
86+
- NODE_TLS_REJECT_UNAUTHORIZED=0
87+
expose:
88+
- "1234"

0 commit comments

Comments
 (0)