-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
99 lines (94 loc) · 2.85 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: "3.7"
services:
traefik:
image: traefik:v3.0
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:4.0.0-beta10-ocean
command: >
defid
-printtoconsole
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-rpcuser=playground
-rpcpassword=playground
-rpcworkqueue=512
-masternode_operator=mswsMVsyGMj1FzDMbbxw2QW3KvQAv2FKiy
-masternode_operator=mps7BdmwEF2vQ9DREDyNPibqsuSRZ8LuwQ
-masternode_operator=bcrt1qmfvw3dp3u6fdvqkdc0y3lr0e596le9cf22vtsv
-masternode_operator=bcrt1qurwyhta75n2g75u2u5nds9p6w9v62y8wr40d2r
-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
-fortcanningmuseumheight=9
-fortcanninghillheight=10
-fortcanningroadheight=11
-fortcanningcrunchheight=12
-fortcanningspringheight=13
-fortcanninggreatworldheight=14
-fortcanningepilogueheight=15
-grandcentralheight=16
-grandcentralepilogueheight=17
-nextnetworkupgradeheight=18
defi-playground:
image: ghcr.io/birthdayresearch/playground-api:4.0.0-beta.10
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/birthdayresearch/whale-api:4.0.0-beta.10
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"
postgres:
image: postgres:15.4-alpine
restart: always
env_file:
- ./apps/server/.env
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- "5432:5432"