mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Close the MongoDB port
This commit is contained in:
committed by
iPromKnight
parent
050c22e11e
commit
562713f749
@@ -40,7 +40,7 @@ services:
|
||||
environment:
|
||||
PGUSER: postgres # needed for healthcheck.
|
||||
# # If you need the database to be accessible from outside, please open the below port.
|
||||
# # Furthermore, please, please, please, change the username and password above.
|
||||
# # Furthermore, please, please, please, change the username and password in the .env file.
|
||||
# # If you want to enhance your security even more, create a new user for the database with a strong password.
|
||||
# ports:
|
||||
# - "5432:5432"
|
||||
@@ -55,8 +55,10 @@ services:
|
||||
image: mongo:latest
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "27017:27017"
|
||||
# # If you need the database to be accessible from outside, please open the below port.
|
||||
# # Furthermore, please, please, please, change the username and password in the .env file.
|
||||
# ports:
|
||||
# - "27017:27017"
|
||||
volumes:
|
||||
- mongo:/data/db
|
||||
restart: *restart-policy
|
||||
|
||||
Reference in New Issue
Block a user