Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind non-public ports to localhost #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
image: redis
restart: unless-stopped
ports:
- '6379:6379'
- '127.0.0.1:6379:6379'
ibp-datastore:
container_name: ibp-datastore
image: mariadb:10.11.2
Expand All @@ -26,7 +26,7 @@ services:
- MARIADB_PASSWORD=ibp_monitor
- MARIADB_DATABASE=ibp_monitor
ports:
- '3306:3306'
- '127.0.0.1:3306:3306'
volumes:
- ../data/mariadb:/var/lib/mysql
wait-for-datastore-ready:
Expand Down Expand Up @@ -57,7 +57,7 @@ services:
ibp-datastore-init:
condition: service_completed_successfully
ports:
- '30002:30002'
- '127.0.0.1:30002:30002'
command: >
bash -c "node api.js"
volumes:
Expand Down Expand Up @@ -96,7 +96,7 @@ services:
wait-for-ibp-server-ready:
condition: service_completed_successfully
ports:
- '3000:3000'
- '127.0.0.1:3000:3000'
command: >
bash -c "node workers.js"
wait-for-ibp-api-ready:
Expand Down