Comments (8)
Have a look at this docker compose setup, maybe it helps? https://github.com/b310-digital/excalidraw/blob/master/docker-compose.yml
from excalidraw-room.
I tried to use this docker-compose using portainer and at some point it fails.
Start of logs:
2024/01/08 10:25AM WRN github.com/portainer/portainer/pkg/libstack/compose/internal/composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" error_output=" excalidraw-room Pulling
* pull and extract logs*
End of logs:
1b181a7bfdfb Extracting [==================================================>] 2.751kB/2.751kB
1b181a7bfdfb Pull complete
excalidraw-room Pulled
failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount624288113/Dockerfile: no such file or directory
" output="#1 [excalidraw internal] load build definition from Dockerfile
#1 transferring dockerfile: 2B done
#1 DONE 0.0s
#2 [excalidraw internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s
#3 [excalidraw-storage-backend internal] load git source https://github.com/kitsteam/excalidraw-storage-backend.git#main
#3 CANCELED
"
I haven't figured out how to solve this yet.
from excalidraw-room.
I tried to use this docker-compose using portainer and at some point it fails.
Start of logs:
2024/01/08 10:25AM WRN github.com/portainer/portainer/pkg/libstack/compose/internal/composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" error_output=" excalidraw-room Pulling
- pull and extract logs*
End of logs:
1b181a7bfdfb Extracting [==================================================>] 2.751kB/2.751kB 1b181a7bfdfb Pull complete excalidraw-room Pulled failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount624288113/Dockerfile: no such file or directory " output="#1 [excalidraw internal] load build definition from Dockerfile #1 transferring dockerfile: 2B done #1 DONE 0.0s #2 [excalidraw internal] load .dockerignore #2 transferring context: 2B done #2 DONE 0.0s #3 [excalidraw-storage-backend internal] load git source https://github.com/kitsteam/excalidraw-storage-backend.git#main #3 CANCELED "
I haven't figured out how to solve this yet.
can you try using image: ghcr.io/kitsteam/excalidraw-storage-backend:v0.1.0
instead of
build:
context: https://github.com/kitsteam/excalidraw-storage-backend.git#main
target: production
from excalidraw-room.
Still Deploymend error but with a little change at the end:
494007c5b92c Pull complete
excalidraw-storage-backend Pulled
failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount483607257/Dockerfile: no such file or directory
" output="#1 [excalidraw internal] load build definition from Dockerfile
#1 transferring dockerfile: 2B done
#1 DONE 0.0s
#2 [excalidraw internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s
and after reboot my homelab server
2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" error_output="failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount4186509642/Dockerfile: no such file or directory
" 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" error_output="failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount4186509642/Dockerfile: no such file or directory
" output="#1 [excalidraw internal] load build definition from Dockerfile
#1 transferring dockerfile: 2B done
#1 DONE 0.0s
#2 [excalidraw internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s
"
"
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
from excalidraw-room.
Ok, first of all there was my mistake at line 7, there is .
instead of https://github.com/b310-digital/excalidraw.git#master
.
But replacing didn't help ... :(
2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" error_output="failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount4186509642/Dockerfile: no such file or directory
" 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > 2024/01/08 07:02PM 2024/01/08 07:02PM WRN 2024/01/08 07:02PM 2024/01/08 07:02PM WRN composeplugin/composeplugin.go:162 > docker compose command failed | error="exit status 17" error_output="failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount4186509642/Dockerfile: no such file or directory
" output="#1 [excalidraw internal] load build definition from Dockerfile
#1 transferring dockerfile: 2B done
#1 DONE 0.0s
#2 [excalidraw internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s
"
from excalidraw-room.
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: Error \n Couldn't connect to the collab server. Please reload the page and try again.
from excalidraw-room.
Have a look at this docker compose setup, maybe it helps? https://github.com/b310-digital/excalidraw/blob/master/docker-compose.yml
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?
from excalidraw-room.
well, check the logs...docker compose logs excalidraw-storage-backend
, most likely its database related, e.g. you haven't provided the .env file. A default is existing, but you need to provide your own, otherwise database stuff is missing. This is not really issue related anymore, so you can write me a mail (see commit mail) but it's not really issue related anymore ;-)
from excalidraw-room.
Related Issues (15)
- Broken live collaboration HOT 10
- Add GitHub action to automatically deploy on Heroku
- How to see, if exclidraw is using this instead of main server? HOT 2
- Create a health URL for our upptime robot
- Support multiple nodes HOT 2
- Mark this project as archived HOT 9
- file ./dist/index.js missing
- Question - How to try out collaboration using this repo and excalidraw repo? HOT 1
- Starting excalidraw-room using the recommended pm2 command does not work. HOT 1
- Update `socket.rooms` iteration to support `Set<string>` in `for..in` loop
- Add GitHub action to automatically deploy on GCP
- Add GitHub action for linting
- Add ESLint HOT 2
- Build fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excalidraw-room.