-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (51 loc) · 1.57 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
# Small local network of three nodes using the fastest mean16
version: '3'
services:
node1:
image: aeternity/aeternity:v5.0.2
hostname: node1
environment:
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml
command: >
bin/aeternity console -noinput -aehttp enable_debug_endpoints true
volumes:
- ./docker/aeternity_node1_mean15.yaml:/home/aeternity/aeternity.yaml
- ./docker/keys/node1:/home/aeternity/node/keys
node2:
image: aeternity/aeternity:v5.0.2
hostname: node2
environment:
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml
command: >
bin/aeternity console -noinput -aehttp enable_debug_endpoints true
volumes:
- ./docker/aeternity_node2_mean15.yaml:/home/aeternity/aeternity.yaml
- ./docker/keys/node2:/home/aeternity/node/keys
node3:
image: aeternity/aeternity:v5.0.2
hostname: node3
environment:
AETERNITY_CONFIG: /home/aeternity/aeternity.yaml
command: >
bin/aeternity console -noinput -aehttp enable_debug_endpoints true
volumes:
- ./docker/aeternity_node3_mean15.yaml:/home/aeternity/aeternity.yaml
- ./docker/keys/node3:/home/aeternity/node/keys
proxy:
image: nginx:1.13.8
hostname: proxy
ports:
- "3001:3001"
- "3002:3002"
- "3003:3003"
volumes:
- ./docker/nginx-default.conf:/etc/nginx/conf.d/default.conf
- ./docker/nginx-cors.conf:/etc/nginx/cors.conf
- ./docker/nginx-ws.conf:/etc/nginx/ws.conf
volumes:
node1_db:
node1_keys:
node2_db:
node2_keys:
node3_db:
node3_keys: