Skip to content

Commit

Permalink
fix: changed exposed ports configuration to make the stack usable alo…
Browse files Browse the repository at this point in the history
…ng with local services
  • Loading branch information
vijayg10 committed Apr 4, 2023
1 parent e936897 commit 437f284
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
image: mojaloop/central-ledger:${CENTRAL_LEDGER_VERSION}
container_name: central-ledger
command: sh -c "/opt/app/config-modifier/run.js /opt/app/config/default.json /opt/app/config-modifier/configs/central-ledger.js /opt/app/config/default.json && /opt/app/wait4/wait4.js central-ledger && node src/api/index.js"
ports:
- "3001:3001"
# ports:
# - "3001:3001"
volumes:
- ./docker/wait4:/opt/app/wait4
- ./docker/config-modifier:/opt/app/config-modifier
Expand Down Expand Up @@ -114,7 +114,7 @@ services:
image: mysql/mysql-server
container_name: mysql
ports:
- "3307:3306"
- "3306:3306"
volumes:
# Note: this fixes the permissions issue, but docker-compose up will fail on first attempt
- ./docker/sql-init/:/docker-entrypoint-initdb.d/
Expand Down Expand Up @@ -149,8 +149,8 @@ services:
condition: service_started
central-ledger:
condition: service_started
ports:
- "3002:3002"
# ports:
# - "3002:3002"
volumes:
- ./docker/config-modifier:/opt/app/config-modifier
healthcheck:
Expand All @@ -168,8 +168,8 @@ services:
image: mojaloop/ml-api-adapter:${ML_API_ADAPTER_VERSION}
container_name: ml-api-adapter
command: sh -c "/opt/app/config-modifier/run.js /opt/app/config/default.json /opt/app/config-modifier/configs/ml-api-adapter.js /opt/app/config/default.json && /opt/app/wait4/wait4.js ml-api-adapter && node src/api/index.js"
ports:
- "3000:3000"
# ports:
# - "3000:3000"
volumes:
- ./docker/wait4:/opt/app/wait4
- ./docker/config-modifier:/opt/app/config-modifier
Expand Down Expand Up @@ -197,8 +197,8 @@ services:
simulator:
image: mojaloop/simulator:v11.1.3
container_name: simulator
ports:
- "8444:8444"
# ports:
# - "8444:8444"
environment:
- LOG_LEVEL=info
- TRANSFERS_ENDPOINT=http://ml-api-adapter:3000
Expand All @@ -222,9 +222,9 @@ services:
image: mojaloop/account-lookup-service:${ACCOUNT_LOOKUP_SERVICE_VERSION}
container_name: account-lookup-service
command: sh -c "/opt/account-lookup-service/config-modifier/run.js /opt/account-lookup-service/config/default.json /opt/account-lookup-service/config-modifier/configs/account-lookup-service.js /opt/account-lookup-service/config/default.json && /opt/account-lookup-service/wait4/wait4.js account-lookup-service && npm run migrate && node src/index.js server"
ports:
- "4001:4001"
- "4002:4002"
# ports:
# - "4001:4001"
# - "4002:4002"
environment:
- LOG_LEVEL=debug
- ALS_DISPLAY_ROUTES=false
Expand Down Expand Up @@ -254,7 +254,7 @@ services:
image: mysql/mysql-server
container_name: mysql-als
ports:
- "3306:3306"
- "3307:3306"
volumes:
- ./docker/sql-als-init/:/docker-entrypoint-initdb.d/
environment:
Expand Down

0 comments on commit 437f284

Please sign in to comment.