docker: Fix and document isolated coins config.

This commit is contained in:
tecnovert
2022-07-11 23:36:28 +02:00
parent 48e0cac5ab
commit e03f32ea5f
20 changed files with 219 additions and 120 deletions

View File

@@ -2,8 +2,7 @@ version: '3.3'
networks:
default:
external:
name: coinswap_network
name: coinswap_network
services:
particl_core:
image: i_particl
@@ -13,10 +12,9 @@ services:
container_name: particl_core
volumes:
- ${DATA_PATH}/particl:/data
#ports:
# - "51738:51738"
expose:
- 51735
- ${PART_RPC_PORT}
- ${PART_ZMQ_PORT}
logging:
driver: "json-file"
options:

View File

@@ -6,10 +6,8 @@
container_name: bitcoin_core
volumes:
- ${DATA_PATH}/bitcoin:/data
#ports:
# - "8333:8333"
expose:
- 8332
- ${BTC_RPC_PORT}
logging:
driver: "json-file"
options:

View File

@@ -6,6 +6,8 @@
container_name: litecoin_core
volumes:
- ${DATA_PATH}/litecoin:/data
expose:
- ${LTC_RPC_PORT}
logging:
driver: "json-file"
options:

View File

@@ -7,7 +7,7 @@
volumes:
- ${DATA_PATH}/monero_wallet:/data
expose:
- 8332
- ${BASE_XMR_WALLET_PORT}
logging:
driver: "json-file"
options:

View File

@@ -0,0 +1,16 @@
tor:
image: i_tor
container_name: tor
build:
context: ./tor
volumes:
- ${DATA_PATH}/tor/data:/var/lib/tor/
- ${DATA_PATH}/tor/torrc:/etc/tor/torrc
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
networks:
tor_net:
coinswap_network: 172.16.238.200

View File

@@ -6,10 +6,8 @@
container_name: monero_daemon
volumes:
- ${DATA_PATH}/monero_daemon:/data
#ports:
# - "18080:18080"
expose:
- 8332
- ${BASE_XMR_RPC_PORT}
logging:
driver: "json-file"
options:

View File

@@ -13,32 +13,33 @@
- ${DATA_PATH}/litecoin:/data/litecoin
environment:
- TZ
- PART_RPC_HOST
- LTC_RPC_HOST
- BTC_RPC_HOST
- PART_RPC_PORT
- LTC_RPC_PORT
- BTC_RPC_PORT
- XMR_RPC_HOST
- BASE_XMR_RPC_PORT
- BASE_XMR_ZMQ_PORT
- BASE_XMR_WALLET_PORT
- XMR_WALLET_RPC_HOST
- XMR_WALLET_RPC_USER
- XMR_WALLET_RPC_PWD
- DEFAULT_XMR_RESTORE_HEIGHT
- UI_HTML_PORT
- COINS_RPCBIND_IP
- BASICSWAP_DATADIR
- PART_DATA_DIR
- PART_RPC_HOST
- PART_ZMQ_PORT
- PART_RPC_USER
- PART_RPC_PWD
- PART_RPC_PORT
- BTC_DATA_DIR
- BTC_RPC_HOST
- BTC_RPC_PORT
- BTC_RPC_USER
- BTC_RPC_PWD
- LTC_DATA_DIR
- LTC_RPC_HOST
- LTC_RPC_PORT
- LTC_RPC_USER
- LTC_RPC_PWD
- PART_DATA_DIR
- LTC_DATA_DIR
- BTC_DATA_DIR
- XMR_DATA_DIR
- XMR_RPC_HOST
- BASE_XMR_RPC_PORT
- BASE_XMR_ZMQ_PORT
- XMR_WALLETS_DIR
- COINS_RPCBIND_IP
- XMR_WALLET_RPC_HOST
- BASE_XMR_WALLET_PORT
- XMR_WALLET_RPC_USER
- XMR_WALLET_RPC_PWD
- DEFAULT_XMR_RESTORE_HEIGHT
restart: "no"