This repository has been archived by the owner on Jun 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (50 loc) · 1.65 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
version: '3'
services:
nodeos:
container_name: nodeos
build:
context: .
dockerfile: ./Dockerfiles/build-testnet.dockerfile
command: nodeos --config-dir /root/.local/share/eosio/nodeos/config/ --config config.ini --logconf /root/.local/share/eosio/nodeos/config/logging.json --genesis-json /root/.local/share/eosio/nodeos/config/genesis.json --delete-all-blocks
stop_grace_period: 3m0s
volumes:
- ./contracts/:/root/contracts
- ./configs/logging.json:/root/.local/share/eosio/nodeos/config/logging.json
- ./configs/genesis.json:/root/.local/share/eosio/nodeos/config/genesis.json
- ./configs/config.ini:/root/.local/share/eosio/nodeos/config/config.ini
ports:
- '8888:8888'
- '9830:9876'
depends_on:
- keosd
keosd:
container_name: keosd
hostname: keosd
build:
context: .
dockerfile: ./Dockerfiles/build-testnet.dockerfile
command: keosd --http-server-address=0.0.0.0:8901 --http-validate-host 0 --verbose-http-errors --unlock-timeout=9999999
volumes:
- ./default.wallet:/root/eosio-wallet/default.wallet
expose:
- 8901
ports:
- '8901:8901'
pricefeed:
container_name: pricefeed
hostname: pricefeed
build:
context: .
dockerfile: ./Dockerfiles/delphioracle-pricefeed.dockerfile
command: /bin/sh /delphioracle/scripts/update-docker.sh
depends_on:
- nodeos
writehash:
container_name: writehash
hostname: writehash
build:
context: .
dockerfile: ./Dockerfiles/delphioracle-rng-script.dockerfile
command: /bin/sh /delphioracle-rng-script/run.sh
depends_on:
- nodeos