-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
102 lines (95 loc) · 2.31 KB
/
docker-compose.yaml
File metadata and controls
102 lines (95 loc) · 2.31 KB
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
#
# This file is meant for developers that want to run Platform 6 on their local machine
#
version: '3'
services:
pgsql:
container_name: pgsql
image: postgres:$PGSQL_VERSION
volumes:
- $INSTANCE_DATA_PATH/psql.data:/opt/psql.data
environment:
- PGDATA=/opt/psql.data
ports:
- "5432:5432"
networks:
- app_net
healthcheck:
test: ["CMD", "pg_isready", "-d", "b2box", "-U", "b2box", "-q"]
interval: 1s
timeout: 3s
retries: 30
p6core:
container_name: p6core
image: amalto/platform6:latest
depends_on:
- pgsql
volumes:
- $INSTANCE_DATA_PATH/p6core.data:/opt/b2box5.data
links:
- pgsql:database
ports:
- "8080:8080"
- "2222:2222"
- "5005:5005"
- "5900:5900"
networks:
- app_net
environment:
- S6_KILL_GRACETIME=300000
- XMX=3g
# Only for testing on a local machine, you don't need this container in production
p6proxy:
container_name: p6proxy
image: amalto/b2proxy
depends_on:
- p6core
environment:
- PROXY_PLAIN_PORT=8480
- LOG_FORMAT=string
- LOG_LEVEL=3
- PROXY_NO_SSL=true
- PROXY_NO_CACHE=true
links:
- p6core:b2box
ports:
- "8480:8480"
networks:
- app_net
# Local Ethereum blockchain used by the Demo App, delete this container in production
demobc:
container_name: demobc
image: pegasyseng/pantheon:latest
command:
--network=dev
--rpc-http-enabled
--rpc-ws-enabled
--host-whitelist="all"
--rpc-http-cors-origins="all"
--miner-enabled
--miner-coinbase fe3b557e8fb62b89f4916b721be55ceb828dbd73
ports:
- "9545:8545"
volumes:
- $INSTANCE_DATA_PATH/p6core.data/demo/pantheon:/var/lib/pantheon
networks:
app_net:
ipv4_address: 172.13.0.20
# Light Ethereum blockchain explorer used by the Demo App, delete this container in production
#demoexplorer:
# container_name: demoexplorer
# image: alethio/ethstats-lite-explorer
# environment:
# - NODE_URL='http://172.13.0.20:8545'
# ports:
# - "80:80"
# networks:
# app_net:
# ipv4_address: 172.13.0.200
networks:
app_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.13.0.0/24