aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-07-16 19:02:23 +0100
committerGravatar Chris Lovering <[email protected]>2024-07-16 19:02:23 +0100
commitd97aeafa52f2ff5da89427630cd6cd91de5d3601 (patch)
tree7eedf8cc7072a9691ae510668d58f2e17542007d
parentMerge pull request #640 from python-discord/dependabot/npm_and_yarn/eslint/co... (diff)
Only bind to loop back address, rather than all interfaces
-rw-r--r--docker-compose.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 87454e2..1f5d60e 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -2,7 +2,7 @@ services:
mongo:
image: mongo:latest
ports:
- - "27017:27017"
+ - "127.0.0.1:27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: forms-backend
MONGO_INITDB_ROOT_PASSWORD: forms-backend
@@ -22,7 +22,7 @@ services:
- mongo
- snekbox
ports:
- - "8000:8000"
+ - "127.0.0.1:8000:8000"
environment:
- DATABASE_URL=mongodb://forms-backend:forms-backend@mongo:27017
- SNEKBOX_URL=http://snekbox:8060/eval