Loading... ``` # sample comes from https://github.com/docker/awesome-compose services: excalidraw-frontend: container_name: excalidraw-frontend image: alswl/excalidraw:v0.15.0-fork-b3 environment: - REACT_APP_BACKEND_V2_GET_URL=https://excalidraw.sddts.cn/api/v2/ - REACT_APP_BACKEND_V2_POST_URL=https://excalidraw.sddts.cn/api/v2/post/ - REACT_APP_WS_SERVER_URL=https://excalidraw-room.sddts.cn/ - REACT_APP_FIREBASE_CONFIG={} # alswl'fork env # forked excalidraw can use env https://github.com/alswl/excalidraw/pull/5 - REACT_APP_HTTP_STORAGE_BACKEND_URL=https://excalidraw-storage.sddts.cn/api/v2 - REACT_APP_STORAGE_BACKEND=http networks: excalidraw-network: ipv4_address: 172.18.5.31 excalidraw-storage: container_name: excalidraw-storage image: alswl/excalidraw-storage-backend:v2023.11.11 restart: always environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables - STORAGE_URI=redis://172.18.5.51:6379 - PORT=8080 - LOG_LEVEL=verbose networks: excalidraw-network: ipv4_address: 172.18.5.32 excalidraw-room: container_name: excalidraw-room image: excalidraw/excalidraw-room:sha-49bf529 networks: excalidraw-network: ipv4_address: 172.18.5.33 excalidraw-redis: container_name: excalidraw-redis image: redis networks: excalidraw-network: ipv4_address: 172.18.5.51 networks: excalidraw-network: driver: bridge ipam: config: - subnet: 172.18.5.0/24 name: excalidraw-network external: true ``` ![2023-11-20T08:49:38.png][1] [1]: https://www.sddts.cn/usr/uploads/2023/11/1020508987.png 最后修改:2024 年 05 月 11 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏