fix: mount log folder in test and production

This commit is contained in:
Lin, Hung-Shin committed 2023-11-21 10:19:33 +08:00
1 parent 0d886a686e
commit a6b51a08e5
2 files changed
+2

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ services:
- players - players
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./logs:/app/logs
env_file: env_file:
- .env - .env
environment: environment:
+1
View File
@@ -41,6 +41,7 @@ services:
- players - players
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./logs:/app/logs
environment: environment:
- BASE_URL=http://localhost:5173 - BASE_URL=http://localhost:5173
- MONGO_URL=mongodb://user:user-password@db-test:27017/odyssey-test - MONGO_URL=mongodb://user:user-password@db-test:27017/odyssey-test