forked from digital-scarcity/equiprental
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (56 loc) · 1.45 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
version: "3"
services:
nodeosd:
build:
context: .
image: eosio/eos-dev
command: /opt/eosio/bin/nodeosd.sh --delete-all-blocks --contracts-console --data-dir /opt/eosio/bin/data-dir -e --http-alias=nodeosd:8888 --http-alias=127.0.0.1:8888 --http-alias=localhost:8888 --mongodb-wipe --mongodb-uri mongodb://mongodb:27017/EOS --http-validate-host=false
hostname: nodeosd
restart: always
links:
- mongodb
networks:
- containers-network
ports:
- 8888:8888
- 9876:9876
expose:
- "8888"
volumes:
- nodeos-data-volume:/opt/eosio/bin/data-dir
- ./:/eosdev
stop_grace_period: 10m
keosd:
image: eosio/eos-dev
command: /opt/eosio/bin/keosd --wallet-dir /opt/eosio/bin/data-dir --http-server-address=0.0.0.0:8900 --http-alias=keosd:8900 --http-alias=localhost:8900
hostname: keosd
restart: always
networks:
- containers-network
links:
- nodeosd
volumes:
- keosd-data-volume:/opt/eosio/bin/data-dir
stop_grace_period: 10m
mongodb:
image: mongo:latest
hostname: mongodb
volumes:
- mongodb:/data/db
- mongodb_config:/data/configdb
networks:
- containers-network
ports:
- 27017:27017
command: mongod
stop_grace_period: 10m
volumes:
nodeos-data-volume:
external: true
keosd-data-volume:
external: true
mongodb:
mongodb_config:
networks:
containers-network:
external: true