mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-03 23:15:24 +00:00
b4f1b47cf1
Service Directory Structure Update
133 lines
3.9 KiB
YAML
133 lines
3.9 KiB
YAML
version: "2.4"
|
|
|
|
volumes:
|
|
bitcoin_data:
|
|
lightning_data:
|
|
lightning_shared:
|
|
rtl_db:
|
|
|
|
services:
|
|
bitcoind:
|
|
container_name: ${COMPOSE_PROJECT_NAME}_bitcoind
|
|
image: bitcoind:0.19.0
|
|
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
|
|
image: lnd:0.12.0-beta
|
|
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
|
|
|
|
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
|
|
|
|
rtl:
|
|
container_name: ${COMPOSE_PROJECT_NAME}_rtl
|
|
image: shahanafarooqui/rtl:0.12.0
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- lnd
|
|
volumes:
|
|
- lightning_shared:/shared:ro
|
|
- rtl_db:/database
|
|
ports:
|
|
- "${RTL_PORT}:${RTL_PORT}"
|
|
environment:
|
|
PORT: ${RTL_PORT}
|
|
HOST: 192.168.0.27
|
|
MACAROON_PATH: /shared
|
|
LN_SERVER_URL: https://${LIGHTNING_HOST}:${LIGHTNING_REST_PORT}
|
|
CONFIG_PATH: ''
|
|
LN_IMPLEMENTATION: LND
|
|
SWAP_SERVER_URL: https://${LIGHTNING_HOST}:${LIGHTNING_LOOP_PORT}
|
|
SWAP_MACAROON_PATH: /shared
|
|
BOLTZ_SERVER_URL: https://${BOLTZ_HOST}:${BOLTZ_PORT}
|
|
BOLTZ_MACAROON_PATH: /shared
|
|
RTL_SSO: 0
|
|
RTL_COOKIE_PATH: ''
|
|
LOGOUT_REDIRECT_LINK: ''
|
|
RTL_CONFIG_PATH: /RTL
|
|
BITCOIND_CONFIG_PATH: ''
|
|
CHANNEL_BACKUP_PATH: /shared/lnd/backup
|
|
ENABLE_OFFERS: false
|
|
ENABLE_PEERSWAP: false
|