-
Notifications
You must be signed in to change notification settings - Fork 72
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
Local LAN collaboration does require HTTPS setup #17
Comments
@alpha358 Yes, the collaboration feature require crypto module, and the crypto module required localhost or HTTPS. |
Would it be difficult to modify your setup to HTTPS? |
It will be a little difficult, change the values in Notice the |
127.0.0.1 是需要修改为部署服务的主机IP吗? |
You can configure an nginx container to proxy applications.You can refer to this issue: Issues@22
Note that REACT and REACT remove the port information and use the HTTPS protocol. The host address needs to be filled in with the address you actually need to access the service.
# sample comes from https://github.com/docker/awesome-compose
services:
frontend:
image: excalidraw:v0.1.0--dirty
ports:
- 8080:80
storage:
image: excalidraw-storage-backend:v0.1.0--dirty
restart: always
environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables
- PORT=8081
ports:
- 8081:8081
room:
image: excalidraw-room:v0.1.0--dirty
ports:
- 8082:80
nginx:
image: nginx:latest
ports:
- 443:443
- 80:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./ssl:/etc/nginx/ssl
depends_on:
- frontend
- storage
- room For the configuration of Nginx, you can refer to the following:
Note that you need to mount the certificate into the nginx container. |
您好,可以问一下这里面的image版本为什么都是dirty吗,我使用docker-compose up的时候找不到这些文件,感谢您的回复 |
@Hanxiaoyi2016 之前的版本没有解决动态启动参数问题,因此需要用户手动构建,构建出来的 image 就带着 The previous version must build image by user self, so the build image name contains |
感谢您的回复,可以问一下make patch images这个命令是什么作用哇,每次都是在这里出错,我最近想完成excalidraw在https环境下的部署,不知道您有没有更好的解决方案,谢谢您 @alswl @AlienHub |
同时,想请教下您,我用您给的excalidraw目录下的 Dockerfile 直接构建和您上传到 DockerHub上的镜像是不一样的,可以问下您具体上传镜像时的Dockerfile吗,以方便我后续的改进,谢谢您 |
最新版本已经不需要用这个命令了。这几个命令在老版本是为了解决参数注入镜像问题。 |
您好,我已经实现了基本的https环境下的私有化部署,但是在使用中发现图片没法分享给别人,插入的图片没法正常显示,想问下您遇到过类似的问题吗 |
具体看了一下发现是
nginx.conf配置如下:
谢谢您 |
Hello, is the current setup suitable for local collaboration in the LAN network?
When running your setup I get an error due to unavailable
window.crypto.subtle.generateKey
It looks like the collab feature should only be accessible via https...
The text was updated successfully, but these errors were encountered: