Expose RPC port and pass in device domain name on Bitcoin app

This commit is contained in:
Luke Childs 2022-06-03 22:46:56 +07:00
parent 108fd3ce45
commit a808cf9b82

View File

@ -22,6 +22,7 @@ services:
BITCOIN_RPC_HIDDEN_SERVICE: "${APP_BITCOIN_RPC_HIDDEN_SERVICE}"
BITCOIN_P2P_HIDDEN_SERVICE: "${APP_BITCOIN_P2P_HIDDEN_SERVICE}"
BITCOIN_P2P_PORT: "${APP_BITCOIN_P2P_PORT}"
DEVICE_DOMAIN_NAME: "${DEVICE_DOMAIN_NAME}"
networks:
default:
ipv4_address: $APP_BITCOIN_IP
@ -35,6 +36,7 @@ services:
- "${APP_BITCOIN_DATA_DIR}:/data/.bitcoin"
ports:
- "${APP_BITCOIN_P2P_PORT}:${APP_BITCOIN_P2P_PORT}"
- "${APP_BITCOIN_RPC_PORT}:${APP_BITCOIN_RPC_PORT}"
networks:
default:
ipv4_address: $APP_BITCOIN_NODE_IP