Restore ports over expose so docker compose can be used for tests

Reduces security when considering a production deployment.
This commit is contained in:
Luke Parker 2023-07-30 13:37:08 -04:00
parent 48ad5fe20b
commit d8033504c8
No known key found for this signature in database

View file

@ -23,7 +23,8 @@ services:
volumes: volumes:
- "./coins/bitcoin/scripts:/scripts" - "./coins/bitcoin/scripts:/scripts"
entrypoint: /scripts/entry-dev.sh entrypoint: /scripts/entry-dev.sh
expose: # TODO: Use expose, not ports
ports:
- "18443" - "18443"
ethereum: ethereum:
@ -47,7 +48,8 @@ services:
volumes: volumes:
- "./coins/monero/scripts:/scripts" - "./coins/monero/scripts:/scripts"
entrypoint: /scripts/entry-dev.sh entrypoint: /scripts/entry-dev.sh
expose: # TODO: Use expose, not ports
ports:
- "18081" - "18081"
# Infrastructure # Infrastructure