-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
70 lines (66 loc) · 1.51 KB
/
docker-compose.yml
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
services:
postgres_db:
image: 'postgres:latest'
container_name: postgres_db
volumes:
- .docker/db/data/:/var/lib/postgresql/data/
- .docker/db/init.d/:/docker-entrypoint-initdb.d/
environment:
POSTGRES_USER: clementine
POSTGRES_PASSWORD: clementine
POSTGRES_DB: clementine
POSTGRES_HOST_AUTH_METHOD: trust
healthcheck:
test: ["CMD-SHELL", "pg_isready -U clementine -d clementine"]
interval: 2s
timeout: 5s
retries: 10
restart: unless-stopped
networks:
- clementine-network
bitcoin_testnet4:
image: bitcoin/bitcoin:28.0rc1
container_name: bitcoin_testnet4
ports:
- "18443:18443"
- "18444:18444"
command:
-printtoconsole
-testnet4=1
-rest
-rpcbind=0.0.0.0
-rpcallowip=0.0.0.0/0
-rpcport=18443
-rpcuser=admin
-rpcpassword=admin
-server
-txindex=1
volumes:
- bitcoin_testnet4:/home/bitcoin/.bitcoin
networks:
- clementine-network
clementine:
depends_on:
- postgres_db
- bitcoin_testnet4
image: clementine
platform: linux/amd64
container_name: clementine
command:
/scripts/docker/docker_config.toml
--verifier-server
environment:
- RUST_LOG=trace
ports:
- "8080:8080"
volumes:
- clementine:/mnt/task/clementine
networks:
- clementine-network
volumes:
postgres_db:
bitcoin_testnet4:
clementine:
networks:
clementine-network:
driver: bridge