/
docker-compose.yml
63 lines (58 loc) · 1.31 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
version: '2'
services:
traefik:
image: traefik:v2.7
container_name: traefik
command:
- "--log.level=DEBUG"
restart: always
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.toml:/traefik.toml
- ./dynamic_conf.yml:/dynamic_conf.yml
- ./acme.json:/acme.json:rw
networks:
- ocean
pond-node:
image: defi/defichain:2.10.0
container_name: pond-node
restart: always
volumes:
- ./data:/home/defi/.defi
command: >
defid
-printtoconsole
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-rpcuser=whale-rpcuser
-rpcpassword=whale-rpcpassword
-rpcworkqueue=512
-txnotokens=0
-txindex=1
-acindex=1
-vaultindex=1
-dexstats=1
networks:
- ocean
pond-whale:
image: ghcr.io/jellyfishsdk/whale-api:2.56.0
container_name: pond-whale
restart: always
volumes:
- ./leveldb:/tmp/db
depends_on:
- pond-node
environment:
WHALE_DEFID_URL: http://whale-rpcuser:whale-rpcpassword@pond-node:8554
WHALE_NETWORK: mainnet
WHALE_DATABASE_PROVIDER: level
WHALE_DATABASE_LEVEL_LOCATION: /tmp/db
WHALE_VERSION: v0
networks:
- ocean
networks:
ocean:
external: true