Skip to content

Commit

Permalink
fix: make db only accessible from localhost and not the web
Browse files Browse the repository at this point in the history
  • Loading branch information
jkellerer authored and JonasKellerer committed Aug 23, 2024
1 parent a17b119 commit 4916ed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ services:
MONGO_INITDB_ROOT_PASSWORD: root
restart: always
ports:
- 27017:27017
- 127.0.0.1:27017:27017
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ services:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
ports:
- 27017:27017
- 127.0.0.1:27017:27017

0 comments on commit 4916ed9

Please sign in to comment.