Skip to content

Commit 65bef04

Browse files
authored
minor: delete useless environment variable
MongoDB is fundamentally designed for "create on first use", so if you do not insert data with your JavaScript files, then no database is created.
1 parent 68d2cb2 commit 65bef04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ services:
2222
environment:
2323
- MONGO_INITDB_ROOT_USERNAME=$DB_USER
2424
- MONGO_INITDB_ROOT_PASSWORD=$DB_PASS
25-
- MONGO_INITDB_DATABASE=$DB_NAME
2625
ports:
2726
- "$DB_PORT:$DB_PORT"
2827
volumes:

0 commit comments

Comments
 (0)