-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (79 loc) · 2.04 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
version: "3.4"
services:
postgres:
image: postgres:10.4
volumes:
- ../.monstereos/.pgsql-data:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
DB_NAME: monstereosio
DB_USER: user
DB_PASSWORD: pass
POSTGRES_DB: monstereosio
mongo:
image: mongo
restart: always
volumes:
- ../.monstereos/.mongo-data:/data/db
ports:
- "27017:27017"
fullnode:
image: eosio/eos:v1.2.4
command: nodeosd.sh --http-alias=fullnode:8888 --http-alias=127.0.0.1:8888 --http-alias=localhost:8888
#--genesis-json /opt/eosio/bin/genesis.json
stop_grace_period: 3m0s
ports:
- "8840:8888"
- "9840:9876"
depends_on:
- mongo
- eosiodev
volumes:
- "fullnode:/opt/eosio/bin/data-dir"
- "./services/eos-node/config-full-node.ini:/opt/eosio/bin/data-dir/config.ini"
# - "./services/eos-node/config-main-node.ini:/opt/eosio/bin/data-dir/config.ini"
# - "./services/eos-node/mainnet-genesis.json:/opt/eosio/bin/genesis.json"
# only required for dev
eosiodev:
build:
context: ./services/eos-dev
dockerfile: Dockerfile
image: monstereos/eosdev
stop_grace_period: 3m0s
command: /opt/eosio/bin/nodeos --config-dir /opt/application/config --data-dir /root/.local/share -e
ports:
- "8888:8888"
- "9830:9876"
volumes:
- eosiodevapp:/root/.local/share
- ./services/eos-dev:/opt/application
demux:
build:
context: .
dockerfile: ./Dockerfile
args:
SERVICE: "demux"
image: monstereos/demux
depends_on:
- mongo
- postgres
- eosiodev
environment:
DB_USER: user
DB_PASSWORD: pass
DB_PORT: 5432
DB_NAME: monstereosio
DB_HOST: postgres
DB_SCHEMA: pets
CHAIN_HOST: "http://eosiodev:8888"
CHAIN_INIT_BLOCK: 10
MONGO_URI: "mongodb://mongo:27017"
MONGO_DB: EOSFN
ports:
- "3030:3030"
volumes:
eosiodevapp:
fullnode: