flywindy / excalidraw-docker Goto Github PK
View Code? Open in Web Editor NEWhttps://gitlab.open-mind.space/pandel/excalidraw-docker
License: MIT License
https://gitlab.open-mind.space/pandel/excalidraw-docker
License: MIT License
Hi there, this is really a nice work.
I build all images and compose the containers, and i can run the excalidraw in my browser.
But when clicking collaborating, the error is:
ERROR: Couldn't connect to the collab server. Please reload the page and try again.
And i found a HTTP GET is issued:
https://www.mydomain.com:8344/undefined/collab-server
Here is the .env file:
# Docker local repo base
BUILDREPO=localbuild
# Timezone
TZ=Asia/Shanghai #Europe/Berlin
# Public server name
PUB_SRV_NAME=www.mydomain.com
# Encryption settings
# Activate acme.sh for certificate creation
# if you diable this, it will generate a self-signed cert
ENABLE_LETSENCRYPT=0
LETSENCRYPT_DOMAIN="${PUB_SRV_NAME}"
LETSENCRYPT_EMAIL="[email protected]" #"admin@${PUB_SRV_NAME}"
# Use Let's Encrypt staging server for testing
LETSENCRYPT_USE_STAGING=0
# Ports from outside
HTTP_PORT=80
HTTPS_PORT=8344 #443
# Define a proxy server for building Docker images
# BEWARE: you might have to define a systemd service override also!
#PROXY=http://<user>:<password>@proxy.serv.er:<port>
# URLs to access JSON sharing backend
# BEWARE: if you changed the outside ports from standard HTTP/HTTPS, you have to add it here, too
REACT_APP_BACKEND_V1_GET_URL=https://$PUB_SRV_NAME:$HTTPS_PORT/api/v1/
REACT_APP_BACKEND_V2_GET_URL=https://$PUB_SRV_NAME:$HTTPS_PORT/api/v2/
REACT_APP_BACKEND_V2_POST_URL=https://$PUB_SRV_NAME:$HTTPS_PORT/api/v2/post
# URLs to socket server
# BEWARE: if you changed the outside port from standard HTTP/HTTPS, you have to add it here, too
REACT_APP_SOCKET_SERVER_URL=https://$PUB_SRV_NAME:$HTTPS_PORT
# Firebase configuration
REACT_APP_FIREBASE_CONFIG=
#REACT_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'
# excalidraw-json S3 backend configuration
EXCALIDRAW_S3_ENDPOINT=http://minio:9000
EXCALIDRAW_S3_BUCKET_NAME=excalidraw
EXCALIDRAW_S3_ACCESS_KEY_ID=minios
EXCALIDRAW_S3_SECRET_ACCESS_KEY=minioKey1234
EXCALIDRAW_S3_FORCE_PATH_STYLE=true
EXCALIDRAW_ALLOWED_ORIGIN=''
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.