Skip to content

Commit 77da13b

Browse files
authored
Merge pull request opf#20839 from opf/impl/68663-hocuspocus-local-docker-setup
Include a docker-compose.override example for Hocuspocus
2 parents 8e9fbb2 + 6adc9c0 commit 77da13b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# The service defined here overrides the hocuspocus service to use local code for development
2+
# Make sure to adjust the volume path to where your hocuspocus source code is
3+
4+
services:
5+
hocuspocus:
6+
# In case of MacOS you need to specify the platform in your `docker/dev/hocuspocus/docker-compose.override.yml`:
7+
# platform: linux/amd64
8+
image: node:22-alpine
9+
working_dir: /app
10+
command: sh -c "npm run dev"
11+
volumes:
12+
- ../../../../op-blocknote-hocuspocus:/app

0 commit comments

Comments
 (0)