fix: remove hard coded project path

+ pass host_pwd using docker compose
+ mount it only when provided
This commit is contained in:
wancat committed 2023-08-22 16:05:06 +08:00
1 parent cf5b761f3f
commit 4b3a80608c
4 files changed
+10 -9

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ services:
environment:
- MONGO_URL=mongodb://db:27017/odyssey-test
- DOCKER_NETWORK=linux-odyssey-players
- HOST_PWD=${PWD}
db:
image: mongo
restart: always