-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yaml
41 lines (38 loc) · 1.02 KB
/
docker-compose.yaml
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
# SPDX-License-Identifier: Apache-2.0
version: '2.1'
networks:
network.com:
external:
name: net_test
services:
refinerdb.network.com:
image: fujitsu/refinerdb:latest
container_name: refinerdb
hostname: refinerdb.network.com
healthcheck:
test: "pg_isready -h localhost -p 5432 -q -U postgres"
interval: 30s
timeout: 10s
retries: 5
volumes:
- /home/ubuntu/postgresql/data:/var/lib/postgresql/data
ports:
- 5432:5432
networks:
- network.com
refiner.network.com:
image: fujitsu/refiner:latest
container_name: refiner
hostname: refiner.network.com
volumes:
- ./config/config.ini:/opt/config/config.ini
- ./config/connection-config-docker.yaml:/opt/config/connection-config.yaml
- /opt/refiner/log:/root/refiner/log
- /YOUR PATH HERE/organizations:/opt/organizations
command: sh -c "/opt/ledgerdata-refiner"
ports:
- 30052:30052
depends_on:
- refinerdb.network.com
networks:
- network.com