Skip to content

Commit df1ea89

Browse files
committed
Change docker-compose to simplify it
1 parent 6d05576 commit df1ea89

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docker-compose.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ services:
44
db:
55
image: mongo
66
ports:
7-
- 27017:27020
7+
- 27020:27017
88
volumes:
99
- ./db:/data/db
1010
environment:
1111
MONGO_LOG_DIR: /dev/null
12-
MONGO_INITDB_DATABASE: api_db
13-
MONGO_INITDB_USERNAME: api_username
14-
MONGO_INITDB_PASSWORD: api_password
12+
MONGO_INITDB_DATABASE: strapi
1513

0 commit comments

Comments
 (0)