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
@@ -7,4 +7,5 @@ export default {
jwtSecret: get('JWT_SECRET', 'secret'),
dockerNetwork: get('DOCKER_NETWORK', 'linux-odyssey-players'),
isProduction: process.env.NODE_ENV === 'production',
hostPwd: get('HOST_PWD', ''),
}