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:
|
environment:
|
||||||
PGUSER: postgres # needed for healthcheck.
|
PGUSER: postgres # needed for healthcheck.
|
||||||
# # If you need the database to be accessible from outside, please open the below port.
|
# # 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.
|
# # If you want to enhance your security even more, create a new user for the database with a strong password.
|
||||||
# ports:
|
# ports:
|
||||||
# - "5432:5432"
|
# - "5432:5432"
|
||||||
@@ -55,8 +55,10 @@ services:
|
|||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
# # If you need the database to be accessible from outside, please open the below port.
|
||||||
- "27017:27017"
|
# # Furthermore, please, please, please, change the username and password in the .env file.
|
||||||
|
# ports:
|
||||||
|
# - "27017:27017"
|
||||||
volumes:
|
volumes:
|
||||||
- mongo:/data/db
|
- mongo:/data/db
|
||||||
restart: *restart-policy
|
restart: *restart-policy
|
||||||
|
|||||||
Reference in New Issue
Block a user