Skip to content

Commit ddefa1c

Browse files
authored
change mongodb image version
Version 3.4 of mongo image is no longer supported by the Mongoose module and a connection error with the database is received. By upgrading the Mongo image to version 6.0, this problem is solved.
1 parent b3438ad commit ddefa1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
- mongo
1919

2020
mongo:
21-
image: mongo:3.4
21+
image: mongo:6.0
2222
volumes:
2323
- anchr_db_data:/data/db
2424
- ./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro
@@ -31,4 +31,4 @@ services:
3131

3232
volumes:
3333
anchr_data:
34-
anchr_db_data:
34+
anchr_db_data:

0 commit comments

Comments
 (0)