We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
大佬好! 可不可以通过docker-compose.yaml来配置excalidraw环境变量,这样方便在不同的环境部署,不用重复构建,下面是我的yaml,我这样写了,但是没有用,请大佬解惑,谢谢!
services: frontend: image: excalidraw:v0.1.0-5b2dbad-dirty environment: - REACT_APP_BACKEND_V2_GET_URL=https://draw.gc-boy.com/api/v2/ - REACT_APP_BACKEND_V2_POST_URL=https://draw.gc-boy.com/api/v2/post/ - REACT_APP_LIBRARY_URL=https://libraries.excalidraw.com - REACT_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries - REACT_APP_HTTP_STORAGE_BACKEND_URL=https://draw.gc-boy.com/api/v2 - REACT_APP_STORAGE_BACKEND=http - REACT_APP_PORTAL_URL=null - REACT_APP_WS_SERVER_URL=https://draw.gc-boy.com - REACT_APP_FIREBASE_CONFIG="{}" - REACT_APP_GOOGLE_ANALYTICS_ID=foo - REACT_APP_PLUS_APP=https://app.excalidraw.com ports: - 80:80 storage: image: excalidraw-storage-backend:v0.1.0-5b2dbad-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-5b2dbad-dirty ports: - 8082:80
The text was updated successfully, but these errors were encountered:
这些环境变量需要打包放到容器内部才能生效,无法通过调整 Docker Compose 配置生效。
简单说:跟着 README 不要走歪,暂时没精力去优化上游代码。
Sorry, something went wrong.
谢谢大佬,那就不去折腾了
No branches or pull requests
大佬好!
可不可以通过docker-compose.yaml来配置excalidraw环境变量,这样方便在不同的环境部署,不用重复构建,下面是我的yaml,我这样写了,但是没有用,请大佬解惑,谢谢!
The text was updated successfully, but these errors were encountered: