Skip to content

Commit d97aeaf

Browse files
committed
Only bind to loop back address, rather than all interfaces
1 parent 9a5b42b commit d97aeaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
mongo:
33
image: mongo:latest
44
ports:
5-
- "27017:27017"
5+
- "127.0.0.1:27017:27017"
66
environment:
77
MONGO_INITDB_ROOT_USERNAME: forms-backend
88
MONGO_INITDB_ROOT_PASSWORD: forms-backend
@@ -22,7 +22,7 @@ services:
2222
- mongo
2323
- snekbox
2424
ports:
25-
- "8000:8000"
25+
- "127.0.0.1:8000:8000"
2626
environment:
2727
- DATABASE_URL=mongodb://forms-backend:forms-backend@mongo:27017
2828
- SNEKBOX_URL=http://snekbox:8060/eval

0 commit comments

Comments
 (0)