-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.full.yml
162 lines (152 loc) · 4.93 KB
/
docker-compose.full.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
services:
# Mining is supported only on linux/x86_64 and mdw doesn't run in emulation, thus an extra node to mine
node:
platform: linux/x86_64
image: aeternity/aeternity
hostname: node1
ports:
- "13013:3013" #Node's default external API port
volumes:
- ${PWD}/node/config/node1_mean15.yaml:/home/aeternity/aeternity.yaml
- ${PWD}/node/config/accounts.json:/home/aeternity/node/data/aecore/.genesis/accounts_test.json
- ${PWD}/node/keys/node1:/home/aeternity/node/keys
- ae_node_db:/home/aeternity/node/data/mnesia
environment:
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml
AE__HTTP__CORS__ALLOW_DOMAINS: '["*"]'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3013/v3/status"]
start_period: 20s
interval: 3s
timeout: 10s
retries: 5
mdw:
image: aeternity/ae_mdw
# platform: linux/x86_64
# image: aeternity/ae_mdw:local
# build:
# context: https://github.com/aeternity/ae_mdw.git#v1.90.0
# args:
# BUILDKIT_CONTEXT_KEEP_GIT_DIR: 1
# NODE_VERSION: 7.2.0
hostname: mdw
networks:
default:
aliases:
- "mdw.local.gd"
ports:
- "4000:4000" #MDW's default port
- "4001:4001" #MDW's websocket default port
- "3113:3113" #Node's default internal API port
- "3013:3013" #Node's default external API port
- "3014:3014" #Node's channels default websocket port
volumes:
- ${PWD}/node/config/node2_mean15.yaml:/home/aeternity/aeternity.yaml
- ${PWD}/node/config/accounts.json:/home/aeternity/node/local/rel/aeternity/data/aecore/.genesis/accounts_test.json
- ${PWD}/node/keys/node2:/home/aeternity/node/local/rel/aeternity/keys
- ae_mdw_node_db:/home/aeternity/node/local/rel/aeternity/data/mnesia
- ae_mdw_db:/home/aeternity/node/local/rel/aeternity/data/mdw.db
environment:
# workaround
TELEMETRY_STATSD_HOST: localhost
ENABLE_CONSOLE_LOG: "true"
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml
AE__MINING__AUTOSTART: "false"
AE__HTTP__CORS__ALLOW_DOMAINS: '["*"]'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4000/status"]
start_period: 20s
interval: 3s
timeout: 10s
retries: 5
depends_on:
node:
condition: service_healthy
faucet:
image: aeternity/aepp-faucet-nodejs
platform: linux/x86_64
environment:
NODE_URL: http://mdw:3013/
EPOCH_URL_DEBUG: http://mdw:3113/
EXPLORER_URL: http://localhost:8020
FAUCET_ACCOUNT_PRIV_KEY: EE796C442F410F8B1AACFA877A3FE734BC79CE90C8272570AC1DD8CDAC38F104D9CA6CADC0630D0A817C4756E87994B1F3FEA058AECC16720F2A33474B138710
ports:
- "8030:5000"
depends_on:
mdw:
condition: service_healthy
explorer:
image: aeternity/mdw-frontend
ports:
- "8020:3000"
environment:
NUXT_APP_NODE_URL: http://mdw.local.gd:3013/v3
NUXT_APP_MDW_URL: http://mdw.local.gd:4000
NUXT_APP_NODE_WS: ws://localhost:4001/websocket
NUXT_APP_OTHER_DEPLOYMENTS: ""
NUXT_APP_NETWORK_NAME: DEVNET LOCAL
NUXT_APP_ENABLE_FAUCET: "false"
NUXT_APP_FAUCET_API: http://localhost:8030/account
depends_on:
mdw:
condition: service_healthy
compiler:
image: aeternity/aesophia_http:v6.1.0
ports:
- "8040:3080"
base_backend:
image: aeternity/aepp-base-backend
environment:
VAPID_SUBJECT: 'mailto: <[email protected]>'
VAPID_PUBLIC_KEY: 'BKdMuWCMzVPLTY-ClCNBanQ5Thgji_VMOQKsmTGlTs5DqVyXU4aFv2eHUs2YwK3XY-RS9HdjkIRJK3E20n251Rw'
VAPID_PRIVATE_KEY: 'LzjNvVH109jxcAGDMe59zLM-gNaeo9QypJl82Thtmts'
ports:
- "8011:8079"
base:
image: aeternitybot/aepp-base:develop
platform: linux/x86_64
environment:
VUE_APP_NETWORK_NAME: Devnet (local)
VUE_APP_NODE_URL: http://localhost:3013
VUE_APP_MIDDLEWARE_URL: http://localhost:4000
VUE_APP_EXPLORER_URL: http://localhost:8020
VUE_APP_COMPILER_URL: http://localhost:8040
VUE_APP_BACKEND_URL: http://localhost:8011
ports:
- "8010:80"
depends_on:
base_backend:
condition: service_started
mdw:
condition: service_healthy
static:
image: nginx:1.13.8
ports:
- 8000:80
volumes:
- ${PWD}/nginx/html/devnet:/usr/share/nginx/html
healthcheck:
test: ["CMD", "service", "nginx", "status"]
start_period: 3s
interval: 3s
timeout: 1s
retries: 5
depends_on:
mdw:
condition: service_healthy
base:
condition: service_started
faucet:
condition: service_started
explorer:
condition: service_started
instructions:
image: alpine
command: echo "!!!OPEN http://localhost:8000 FOR MORE INFROMATION ABOUT DEVNET!!!"
depends_on:
static:
condition: service_healthy
volumes:
ae_node_db:
ae_mdw_node_db:
ae_mdw_db: