Rename DB volume

This commit is contained in:
Luke Murphy 2021-01-08 15:48:03 +01:00
parent afeda00659
commit f9fcd981eb
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ services:
secrets:
- db_root_password
volumes:
- "db:/data/db"
- "mongodb:/data/db"
environment:
- MONGO_INITDB_DATABASE=alerta
- MONGO_INITDB_ROOT_USERNAME=alerta
@ -92,7 +92,7 @@ networks:
external: true
volumes:
db:
mongodb:
configs:
config_json: