-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (39 loc) · 970 Bytes
/
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
version: '3.5'
networks:
config_mynw:
external: true
services:
explorer:
image: hyperledger_explorer_app
container_name: hyperledger_explorer_app
build:
context: ./app
args:
EXPLORER_BRANCH: 'release-3.5'
expose:
- "8092"
links:
- postgresql
command: sh -c "/tmp/wait.sh && node /opt/explorer/main.js"
volumes:
- ./app/config/config.json:/opt/explorer/app/platform/fabric/config.json
- ./app/config/crypto-config://tmp/crypto
ports:
- "8092:8080"
networks:
- config_mynw
postgresql:
image: hyperledger_explorer_postgresql
container_name: hyperledger_explorer_postgresql
build:
context: ./postgresql
args:
EXPLORER_BRANCH: 'release-3.5'
volumes:
- hyperledger_explorer_postgresql_data:/usr/local/pgsql/data
ports:
- "5432:5432"
networks:
- config_mynw
volumes:
hyperledger_explorer_postgresql_data: