2019-04-14 23:00:20 +00:00
|
|
|
version: "2.4"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
bitcoin_data:
|
|
|
|
lightning_data:
|
|
|
|
lightning_shared:
|
2021-12-29 23:08:41 +00:00
|
|
|
rtl_db:
|
2019-04-14 23:00:20 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
bitcoind:
|
|
|
|
container_name: ${COMPOSE_PROJECT_NAME}_bitcoind
|
2021-06-20 20:27:08 +00:00
|
|
|
image: bitcoind:0.19.0
|
2019-04-14 23:00:20 +00:00
|
|
|
build: ./bitcoind
|
|
|
|
command: [
|
|
|
|
"bitcoind",
|
|
|
|
"-datadir=/bitcoin",
|
|
|
|
"-port=${BITCOIN_PORT}",
|
|
|
|
"-upnp=0",
|
|
|
|
"-dnsseed=0",
|
|
|
|
"-txindex=1",
|
|
|
|
"-listen=0",
|
|
|
|
"-onlynet=ipv4",
|
|
|
|
"-regtest=1",
|
|
|
|
"-regtest.rpcport=${BITCOIN_RPC_PORT}",
|
|
|
|
"-regtest.port=${BITCOIN_PORT}",
|
|
|
|
"-rpcport=${BITCOIN_RPC_PORT}",
|
|
|
|
"-rpcuser=${BITCOIN_RPC_USER}",
|
|
|
|
"-rpcpassword=${BITCOIN_RPC_PASSWORD}",
|
|
|
|
"-rpcallowip=0.0.0.0/0",
|
|
|
|
"-zmqpubrawtx=tcp://0.0.0.0:${BITCOIN_ZMQ_TX_PORT}",
|
|
|
|
"-zmqpubrawblock=tcp://0.0.0.0:${BITCOIN_ZMQ_BLOCK_PORT}",
|
|
|
|
"-zmqpubhashblock=tcp://0.0.0.0:${BITCOIN_ZMQ_BLOCK_PORT}"
|
|
|
|
]
|
|
|
|
ports:
|
|
|
|
- "${BITCOIN_PORT}:${BITCOIN_PORT}"
|
|
|
|
volumes:
|
|
|
|
- bitcoin_data:/bitcoin
|
|
|
|
|
|
|
|
lnd:
|
|
|
|
container_name: ${COMPOSE_PROJECT_NAME}_lnd
|
2021-06-20 20:27:08 +00:00
|
|
|
image: lnd:0.12.0-beta
|
2019-04-14 23:00:20 +00:00
|
|
|
build: ./lnd
|
|
|
|
restart: unless-stopped
|
|
|
|
command: [
|
|
|
|
"lnd",
|
|
|
|
"--noseedbackup",
|
|
|
|
"--rpclisten=0.0.0.0:${LIGHTNING_RPC_PORT}",
|
|
|
|
"--restlisten=0.0.0.0:${LIGHTNING_REST_PORT}",
|
|
|
|
"--adminmacaroonpath=/shared/admin.macaroon",
|
|
|
|
"--tlsextradomain=${LIGHTNING_HOST}",
|
|
|
|
"--tlsextraip=0.0.0.0",
|
|
|
|
"--tlscertpath=/shared/tls.cert",
|
|
|
|
"--datadir=/lnd",
|
|
|
|
"--bitcoin.active",
|
|
|
|
"--bitcoin.regtest",
|
|
|
|
"--bitcoin.node=bitcoind",
|
|
|
|
"--bitcoind.rpchost=${BITCOIN_HOST}:${BITCOIN_RPC_PORT}",
|
|
|
|
"--bitcoind.rpcuser=${BITCOIN_RPC_USER}",
|
|
|
|
"--bitcoind.rpcpass=${BITCOIN_RPC_PASSWORD}",
|
|
|
|
"--bitcoind.zmqpubrawtx=tcp://${BITCOIN_HOST}:${BITCOIN_ZMQ_TX_PORT}",
|
|
|
|
"--bitcoind.zmqpubrawblock=tcp://${BITCOIN_HOST}:${BITCOIN_ZMQ_BLOCK_PORT}"
|
|
|
|
]
|
|
|
|
depends_on:
|
|
|
|
- bitcoind
|
|
|
|
ports:
|
|
|
|
- "${LIGHTNING_REST_PORT}:${LIGHTNING_REST_PORT}"
|
|
|
|
volumes:
|
|
|
|
- lightning_data:/lnd
|
|
|
|
- lightning_shared:/shared
|
|
|
|
|
2021-02-21 19:02:31 +00:00
|
|
|
boltz:
|
|
|
|
container_name: ${COMPOSE_PROJECT_NAME}_boltz
|
|
|
|
image: boltz:1.2.0
|
|
|
|
build: ./boltz
|
|
|
|
restart: unless-stopped
|
|
|
|
command: [
|
|
|
|
"boltz",
|
|
|
|
"--noseedbackup",
|
|
|
|
"--rpclisten=0.0.0.0:${BOLTZ_RPC_PORT}",
|
|
|
|
"--restlisten=0.0.0.0:${BOLTZ_REST_PORT}",
|
|
|
|
"--adminmacaroonpath=/shared/admin.macaroon",
|
|
|
|
"--tlsextradomain=${BOLTZ_HOST}",
|
|
|
|
"--tlsextraip=0.0.0.0",
|
|
|
|
"--tlscertpath=/shared/tls.cert",
|
|
|
|
"--datadir=/boltz",
|
|
|
|
"--bitcoin.active",
|
|
|
|
"--bitcoin.regtest",
|
|
|
|
"--bitcoin.node=bitcoind",
|
|
|
|
"--bitcoind.rpchost=${BITCOIN_HOST}:${BITCOIN_RPC_PORT}",
|
|
|
|
"--bitcoind.rpcuser=${BITCOIN_RPC_USER}",
|
|
|
|
"--bitcoind.rpcpass=${BITCOIN_RPC_PASSWORD}",
|
|
|
|
"--bitcoind.zmqpubrawtx=tcp://${BITCOIN_HOST}:${BITCOIN_ZMQ_TX_PORT}",
|
|
|
|
"--bitcoind.zmqpubrawblock=tcp://${BITCOIN_HOST}:${BITCOIN_ZMQ_BLOCK_PORT}"
|
|
|
|
]
|
|
|
|
depends_on:
|
|
|
|
- bitcoind
|
|
|
|
ports:
|
|
|
|
- "${BOLTZ_REST_PORT}:${BOLTZ_REST_PORT}"
|
|
|
|
volumes:
|
|
|
|
- boltz_data:/boltz
|
|
|
|
- boltz_shared:/shared
|
|
|
|
|
2019-04-14 23:00:20 +00:00
|
|
|
rtl:
|
|
|
|
container_name: ${COMPOSE_PROJECT_NAME}_rtl
|
2021-12-29 23:08:41 +00:00
|
|
|
image: shahanafarooqui/rtl:0.12.0
|
2019-04-14 23:00:20 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- lnd
|
|
|
|
volumes:
|
|
|
|
- lightning_shared:/shared:ro
|
2021-12-29 23:08:41 +00:00
|
|
|
- rtl_db:/database
|
2019-04-14 23:00:20 +00:00
|
|
|
ports:
|
|
|
|
- "${RTL_PORT}:${RTL_PORT}"
|
|
|
|
environment:
|
|
|
|
PORT: ${RTL_PORT}
|
2020-08-11 20:52:29 +00:00
|
|
|
HOST: 192.168.0.27
|
2019-04-14 23:00:20 +00:00
|
|
|
MACAROON_PATH: /shared
|
2020-08-18 14:34:40 +00:00
|
|
|
LN_SERVER_URL: https://${LIGHTNING_HOST}:${LIGHTNING_REST_PORT}
|
2020-01-21 22:04:26 +00:00
|
|
|
CONFIG_PATH: ''
|
2020-08-11 20:52:29 +00:00
|
|
|
LN_IMPLEMENTATION: LND
|
2021-02-21 19:02:31 +00:00
|
|
|
SWAP_SERVER_URL: https://${LIGHTNING_HOST}:${LIGHTNING_LOOP_PORT}
|
2020-12-20 23:36:04 +00:00
|
|
|
SWAP_MACAROON_PATH: /shared
|
2021-02-21 19:02:31 +00:00
|
|
|
BOLTZ_SERVER_URL: https://${BOLTZ_HOST}:${BOLTZ_PORT}
|
|
|
|
BOLTZ_MACAROON_PATH: /shared
|
2020-08-11 20:52:29 +00:00
|
|
|
RTL_SSO: 0
|
|
|
|
RTL_COOKIE_PATH: ''
|
|
|
|
LOGOUT_REDIRECT_LINK: ''
|
|
|
|
RTL_CONFIG_PATH: /RTL
|
|
|
|
BITCOIND_CONFIG_PATH: ''
|
|
|
|
CHANNEL_BACKUP_PATH: /shared/lnd/backup
|
2021-12-29 23:08:41 +00:00
|
|
|
ENABLE_OFFERS: false
|
2022-08-24 07:52:57 +00:00
|
|
|
ENABLE_PEERSWAP: false
|