-
Notifications
You must be signed in to change notification settings - Fork 26
/
docker-compose.yml
65 lines (65 loc) · 1.68 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
version: "3"
services:
neo-nodes:
container_name: "neo-nodes"
image: cityofzion/neo-privatenet
ports:
- "20333:20333"
- "20334:20334"
- "20335:20335"
- "20336:20336"
- "30333:30333"
- "30334:30334"
- "30335:30335"
- "30336:30336"
neo-python:
container_name: "neo-python"
image: "cityofzion/neo-python"
depends_on:
- neo-nodes
- neo-scan
network_mode: host
tty: true
volumes:
- ./smart-contracts:/smart-contracts
notifications-server:
container_name: "notifications-server"
image: "cityofzion/neo-python"
depends_on:
- neo-nodes
volumes:
- ./custom-config.json:/neo-python/custom-config.json
command: "/usr/bin/python3 /neo-python/neo/bin/api_server.py --config /neo-python/custom-config.json --port-rest 8080"
ports:
- 8080:8080
postgres:
container_name: "postgres"
image: postgres:10.1
environment:
POSTGRES_DB: neoscan_prodv
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
expose:
- 5432
neo-scan:
image: "registry.gitlab.com/cityofzion/neo-scan"
container_name: "neo-scan"
depends_on:
- postgres
- neo-nodes
- notifications-server
environment:
PORT: 4000
HOST: ${HOST_NAME}
NEO_SEED_1: "http://${SEED_SERVER}:30333"
NEO_SEED_2: "http://${SEED_SERVER}:30334"
NEO_SEED_3: "http://${SEED_SERVER}:30335"
NEO_SEED_4: "http://${SEED_SERVER}:30336"
NEO_NOTIFICATIONS_SERVER: "http://${NOTIFICATIONS_SERVER}:8080/v1"
links:
- neo-nodes:30333
- neo-nodes:30334
- neo-nodes:30335
- neo-nodes:30336
ports:
- 4000:4000