-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.release.example.yml
More file actions
85 lines (81 loc) · 2.64 KB
/
Copy pathdocker-compose.release.example.yml
File metadata and controls
85 lines (81 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: btcpay-floresta-release
services:
btcpayserver:
image: ${BTCPAY_IMAGE:-btcpayserver/btcpayserver:2.3.9}
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
floresta:
condition: service_healthy
ports:
- "${BTCPAY_HOST_BIND:-127.0.0.1}:${BTCPAY_HOST_PORT:-23000}:8080"
environment:
ASPNETCORE_URLS: http://0.0.0.0:8080
BTCPAY_NETWORK: mainnet
BTCPAY_POSTGRES: "User ID=${POSTGRES_USER:-btcpay};Password=${POSTGRES_PASSWORD:-btcpay};Include Error Detail=true;Host=postgres;Port=5432;Database=${POSTGRES_DB:-btcpay}"
FLORESTA_REPLACE_BTCPAY_BACKEND: "true"
FLORESTA_ENABLED: "true"
FLORESTA_CRYPTO_CODE: BTC
FLORESTA_NETWORK: mainnet
FLORESTA_ELECTRUM_HOST: floresta
FLORESTA_ELECTRUM_PORT: "50001"
FLORESTA_ELECTRUM_TLS: "false"
FLORESTA_RPC_URL: http://floresta:8332
FLORESTA_GAP_LIMIT: "${FLORESTA_GAP_LIMIT:-100}"
FLORESTA_FALLBACK_FEE_SAT_PER_VB: "${FLORESTA_FALLBACK_FEE_SAT_PER_VB:-1}"
FLORESTA_FILTERS_START_HEIGHT: "${FLORESTA_FILTERS_START_HEIGHT:-0}"
FLORESTA_AUTO_REGISTER_DESCRIPTORS: "true"
FLORESTA_AUTO_RESCAN_ON_NEW_DESCRIPTOR: "false"
FLORESTA_USE_AS_BITCOIN_BACKEND: "true"
volumes:
- btcpay_datadir:/datadir
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER:-btcpay}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-btcpay}
POSTGRES_DB: ${POSTGRES_DB:-btcpay}
volumes:
- postgres_datadir:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-btcpay} -d ${POSTGRES_DB:-btcpay}"]
interval: 10s
timeout: 5s
retries: 12
start_period: 10s
floresta:
image: ${FLORESTA_IMAGE:-btcpay-floresta:mainnet-poc}
build:
context: "${FLORESTA_REPO:-https://github.com/getfloresta/Floresta.git#v0.9.1}"
dockerfile: ${FLORESTA_DOCKERFILE:-Dockerfile}
restart: unless-stopped
command:
- florestad
- --network
- bitcoin
- --data-dir
- /data
- --rpc-address
- 0.0.0.0:8332
- --electrum-address
- 0.0.0.0:50001
- --filters-start-height
- "${FLORESTA_FILTERS_START_HEIGHT:-0}"
- --no-backfill
expose:
- "8332"
- "50001"
volumes:
- floresta_datadir:/data
healthcheck:
test: ["CMD", "floresta-cli", "--network", "bitcoin", "--rpc-host", "http://127.0.0.1:8332", "ping"]
interval: 10s
timeout: 5s
retries: 30
start_period: 20s
volumes:
btcpay_datadir:
postgres_datadir:
floresta_datadir: