forked from playmint/ds-hammer-factory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (45 loc) · 1.05 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
version: '3'
services:
contracts:
build:
context: "./contracts"
restart: always
ports:
- 8545:8545
plugin:
build:
context: "./plugin"
restart: always
ports:
- 3011:3000
cog:
image: ghcr.io/playmint/cog-services:latest
pull_policy: always
restart: always
entrypoint:
- /bin/ash
- -eu
- -c
- |
echo "waiting"
/wait-for -it contracts:8545 -t 300
echo "starting"
exec /ds-node
environment:
CHAIN_ID: "1337"
SEQUENCER_PRIVATE_KEY: "095a37ef5b5d87db7fe50551725cb64804c8c554868d3d729c0dd17f0e664c87"
SEQUENCER_PROVIDER_URL_HTTP: "http://contracts:8545"
SEQUENCER_PROVIDER_URL_WS: "ws://contracts:8545"
INDEXER_WATCH_PENDING: "false"
INDEXER_PROVIDER_URL_HTTP: "http://contracts:8545"
INDEXER_PROVIDER_URL_WS: "ws://contracts:8545"
ports:
- 8080:8080
depends_on:
- contracts
shell:
image: ghcr.io/playmint/ds-shell:latest
pull_policy: always
restart: always
ports:
- 3000:3000