2024-05-28 11:23:06 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: peerswap_web_1
|
|
|
|
APP_PORT: 1984
|
|
|
|
|
|
|
|
web:
|
2024-09-16 12:22:12 +00:00
|
|
|
image: ghcr.io/impa10r/peerswap-web:v1.6.9@sha256:a925714945527bae8d792c47f83ed13048f192e3613b06e15b9af4bd60cfe504
|
2024-05-28 11:23:06 +00:00
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
|
|
|
environment:
|
|
|
|
# App
|
|
|
|
NETWORK: $APP_BITCOIN_NETWORK
|
2024-06-25 22:27:41 +00:00
|
|
|
NO_HTTPS: "true"
|
2024-05-28 11:23:06 +00:00
|
|
|
# LND
|
|
|
|
LND_HOST: ${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT}
|
|
|
|
LND_MACAROONPATH: /home/peerswap/.lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/admin.macaroon
|
|
|
|
# Elements RPC
|
|
|
|
ELEMENTS_USER: elements
|
|
|
|
ELEMENTS_PORT: $APP_ELEMENTS_NODE_RPC_PORT
|
|
|
|
ELEMENTS_HOST: http://elements_node_1
|
|
|
|
ELEMENTS_WALLET: peerswap
|
|
|
|
ELEMENTS_FOLDER: /home/elements/.elements
|
|
|
|
ELEMENTS_FOLDER_MAPPED: /home/peerswap/.elements
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data:/home/peerswap/.peerswap
|
|
|
|
- ${APP_LIGHTNING_NODE_DATA_DIR}:/home/peerswap/.lnd:ro
|
|
|
|
- ${ELEMENTS_DATA_DIR}:/home/peerswap/.elements:ro
|