chore: fix data volumes in Compose file

This commit is contained in:
sw5ciprl 2024-10-10 21:27:50 +03:00 committed by GitHub
parent 62f9d27460
commit c954ccd9b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View File

@ -2,3 +2,4 @@
**/.git **/.git
Dockerfile* Dockerfile*
.* .*
data/

5
.gitignore vendored
View File

@ -17,6 +17,5 @@ yarn.lock
# MongoDB VSCode extension playground scripts # MongoDB VSCode extension playground scripts
/database_scripts /database_scripts
# Default Docker directories # Default Docker directory
/static-data /data
/database

View File

@ -27,7 +27,8 @@ services:
# APP_UNIVERSAL_POLARITY_EVERYWHERE: true # APP_UNIVERSAL_POLARITY_EVERYWHERE: true
# APP_SPOOF_MASTERY_RANK: -1 # APP_SPOOF_MASTERY_RANK: -1
volumes: volumes:
- ./static-data:/app/static/data - ./data/static:/app/static/data
- ./data/logs:/app/logs
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@ -39,4 +40,4 @@ services:
MONGO_INITDB_ROOT_USERNAME: openwfagent MONGO_INITDB_ROOT_USERNAME: openwfagent
MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver
volumes: volumes:
- ./database:/app/static/data - ./data/database:/data/db