2022-11-22 11:31:39 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: torq_web_1
|
|
|
|
APP_PORT: 7028
|
2022-12-14 18:38:55 +00:00
|
|
|
|
2022-11-22 11:31:39 +00:00
|
|
|
web:
|
2024-02-05 20:31:17 +00:00
|
|
|
image: lncapital/torq:1.5.1@sha256:f705b5a1b1da79668264dd9197b7c2b0020cfe6d9f0fdb946672d2e763ba176b
|
2022-11-22 11:31:39 +00:00
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
|
|
|
volumes:
|
|
|
|
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
|
|
|
|
command:
|
|
|
|
- --torq.port
|
|
|
|
- "7028"
|
|
|
|
- --db.host
|
|
|
|
- torq_db_1
|
|
|
|
- --db.password
|
|
|
|
- moneyprintergobrrr
|
|
|
|
- --torq.password
|
|
|
|
- ${APP_PASSWORD}
|
|
|
|
- --lnd.url
|
|
|
|
- ${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT}
|
|
|
|
- --lnd.macaroon-path
|
2023-01-15 01:23:34 +00:00
|
|
|
- /lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/admin.macaroon
|
2022-11-22 11:31:39 +00:00
|
|
|
- --lnd.tls-path
|
|
|
|
- /lnd/tls.cert
|
2023-02-13 22:42:08 +00:00
|
|
|
- --torq.auto-login
|
2022-11-22 11:31:39 +00:00
|
|
|
- start
|
2022-12-14 18:38:55 +00:00
|
|
|
|
2022-11-22 11:31:39 +00:00
|
|
|
db:
|
|
|
|
image: timescale/timescaledb:2.8.1-pg14@sha256:96c3a5587a24bb336437403b394f5927f639322cf3fcc0eff4ee0294da540dd7
|
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: moneyprintergobrrr
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/torq:/var/lib/postgresql/data
|
|
|
|
- ${APP_DATA_DIR}/data/passwd:/etc/passwd:ro # Enables postgres to init on user 1000
|