fixing bug in mongo by changing the vol
This commit is contained in:
parent
6e60bb513a
commit
cdffb33aff
1 changed files with 4 additions and 4 deletions
|
@ -6,14 +6,14 @@ services:
|
|||
ports:
|
||||
- 27017:27017
|
||||
volumes:
|
||||
- data:/data/db
|
||||
- rank_carwler:/data/db
|
||||
- ./init-scripts/init.js:/docker-entrypoint-initdb.d/mongo-init.js
|
||||
environment:
|
||||
- MONGO_INITDB_DATABASE=${DB_DATABASE}
|
||||
- MONGO_INITDB_ROOT_USERNAME=${MONGO_INITDB_ROOT_USERNAME}
|
||||
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_INITDB_ROOT_PASSWORD}
|
||||
- MONGO_INITDB_ROOT_USERNAME=${DB_USERNAME}
|
||||
- MONGO_INITDB_ROOT_PASSWORD=${DB_PASSWORD}
|
||||
platform: linux/arm64/v8
|
||||
expose:
|
||||
- 27017
|
||||
volumes:
|
||||
data:
|
||||
rank_carwler:
|
Loading…
Reference in a new issue