-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self Hosted Collab Excalidraw with containers #366
Comments
Have a look at this docker compose setup, maybe it helps? https://github.com/b310-digital/excalidraw/blob/master/docker-compose.yml |
I tried to use this docker-compose using portainer and at some point it fails. Start of logs:
* pull and extract logs* End of logs:
I haven't figured out how to solve this yet. |
can you try using
|
Still Deploymend error but with a little change at the end:
and after reboot my homelab server
There might be some problems in my docker-compose script because I added some little changes, so I'll attach that too : version: "3.8"
services:
excalidraw:
stdin_open: true
build:
context: .
target: development
container_name: excalidraw
ports:
- "3050:3000"
restart: on-failure
healthcheck:
disable: true
environment:
- NODE_ENV=development
volumes:
- node_modules:/opt/node_app/node_modules
- ./:/opt/node_app/
networks:
- excalidraw-net
- reverse-proxy-net
excalidraw-storage-backend:
stdin_open: true
image: ghcr.io/kitsteam/excalidraw-storage-backend:v0.1.0
ports:
- "3051:8080"
environment:
STORAGE_URI: redis://:${REDIS_PASSWORD}@redis:6379
STORAGE_TTL: 2592000000
networks:
- excalidraw-net
- reverse-proxy-net
excalidraw-room:
image: excalidraw/excalidraw-room
ports:
- "3052:80"
networks:
- excalidraw-net
- reverse-proxy-net
redis:
image: redis
command: redis-server --requirepass ${REDIS_PASSWORD}
volumes:
- redis_data:/data
networks:
- excalidraw-net
- reverse-proxy-net
volumes:
redis_data:
node_modules:
networks:
excalidraw-net:
name: excalidraw-net
external: true
reverse-proxy-net:
name: reverse-proxy-net
external: true |
Ok, first of all there was my mistake at line 7, there is
|
Well, I managed to deploy it in Portainer with next docker-compose script: version: "3.8"
services:
excalidraw:
stdin_open: true
build:
context: https://github.com/b310-digital/excalidraw.git#master
target: development
container_name: excalidraw
ports:
- "3000:3000"
restart: on-failure
healthcheck:
disable: true
environment:
- NODE_ENV=development
volumes:
- node_modules:/opt/node_app/node_modules
- ./:/opt/node_app/
networks:
- excalidraw-net
- reverse-proxy-net
excalidraw-storage-backend:
stdin_open: true
build:
context: https://github.com/kitsteam/excalidraw-storage-backend.git#main
target: production
ports:
- "8080:8080"
environment:
STORAGE_URI: redis://:${REDIS_PASSWORD}@redis:6379
STORAGE_TTL: 2592000000
networks:
- excalidraw-net
- reverse-proxy-net
excalidraw-room:
image: excalidraw/excalidraw-room
ports:
- "5001:80"
networks:
- excalidraw-net
- reverse-proxy-net
redis:
image: redis
command: redis-server --requirepass ${REDIS_PASSWORD}
volumes:
- redis_data:/data
networks:
- excalidraw-net
- reverse-proxy-net
volumes:
redis_data:
node_modules:
networks:
excalidraw-net:
name: excalidraw-net
external: true
reverse-proxy-net:
name: reverse-proxy-net
external: true BUT collaboration still does not work with following pop-up message: |
Even if I clone the repository completely and run docker-compose from it on my local machine, all containers seem to start, but nothing happens in them (no logs) and the ability to collaborate is still missing :( Any ideas? |
well, check the logs... |
Hello,
I want to setup a self hosted environnement using the 2 containers: excalidraw and excalidraw-room
There is no documentation on how to connect / link the client to the server..
I tried to set the variable REACT_APP_WS_SERVER_URL, but nothing.
Could you guys help me please?
How to make this work?
Thx
The text was updated successfully, but these errors were encountered: