forked from BirthdayResearch/defichain-wallet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
74 lines (70 loc) · 1.99 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
71
72
73
74
version: '3.7'
services:
traefik:
image: traefik:v2.4
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--entrypoints.web.address=:80"
- "--entrypoints.ping.address=:8082"
- "--ping.entryPoint=ping"
ports:
- "19553:80"
- "19552:8080"
- "19551:8082"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
defi-blockchain:
image: defi/defichain:2.2.1
command: >
defid
-printtoconsole
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-rpcuser=playground
-rpcpassword=playground
-rpcworkqueue=512
-masternode_operator=mswsMVsyGMj1FzDMbbxw2QW3KvQAv2FKiy
-regtest=1
-jellyfish_regtest=1
-txnotokens=0
-logtimemicros
-txindex=1
-acindex=1
-amkheight=0
-bayfrontheight=1
-bayfrontgardensheight=2
-clarkequayheight=3
-dakotaheight=4
-dakotacrescentheight=5
-eunosheight=6
-eunospayaheight=7
-fortcanningheight=8
defi-playground:
image: ghcr.io/defich/playground:0.12.1
depends_on:
- defi-blockchain
ports:
- "3002:3000"
environment:
PLAYGROUND_DEFID_URL: http://playground:playground@defi-blockchain:19554
labels:
- "traefik.http.services.playground.loadbalancer.server.port=3000"
- "traefik.http.routers.playground.rule=PathPrefix(`/v0/playground/`)"
- "traefik.http.routers.playground.entrypoints=web"
defi-whale:
image: ghcr.io/defich/whale:0.16.1
depends_on:
- defi-blockchain
ports:
- "3001:3000"
environment:
WHALE_DEFID_URL: http://playground:playground@defi-blockchain:19554
WHALE_DATABASE_PROVIDER: level
WHALE_DATABASE_LEVEL_LOCATION: .level/index
WHALE_NETWORK: regtest
WHALE_VERSION: v0
labels:
- "traefik.http.services.whale.loadbalancer.server.port=3000"
- "traefik.http.routers.whale.rule=PathPrefix(`/v0/regtest/`)"
- "traefik.http.routers.whale.entrypoints=web"