-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
64 lines (58 loc) · 1.59 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
version: '3.7'
services:
cardano-http-bridge:
build:
context: .
dockerfile: ./docker/cardano-http-bridge/Dockerfile
network_mode: host
restart: always
ports:
- "8082:8082"
volumes:
- "/opt/docker_mounts/cardano-http-bridge/data:/opt/data"
command: /opt/app/cardano-http-bridge start --networks-dir /opt/data --port 8082
postgres:
image: postgres:12.1
network_mode: host
restart: always
ports:
- "5432:5432"
volumes:
- "/opt/docker_mounts/postgres/data:/var/lib/postgresql/data"
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: yoroi_blockchain_importer
tangata-manu-image:
image: tangata-manu-image:latest
build:
context: .
dockerfile: ./docker/tangata-manu/Dockerfile
network_mode: host
command: ["/bin/sh", "-c", "exit 0"]
tangata-manu-migrate:
image: tangata-manu-image:latest
network_mode: host
environment:
PGUSER: postgres
PGPASSWORD: postgres
PGDATABASE: yoroi_blockchain_importer
PGHOST: "127.0.0.1"
PGPORT: "5432"
TANGATA_BRIDGE_URL: http://127.0.0.1:8082
command: yarn run migrate up
tangata-manu:
image: tangata-manu-image:latest
network_mode: host
restart: always
ports:
- "8080:8080"
environment:
PGUSER: postgres
PGPASSWORD: postgres
PGDATABASE: yoroi_blockchain_importer
PGHOST: "127.0.0.1"
PGPORT: "5432"
TANGATA_BRIDGE_URL: http://127.0.0.1:8082
TANGATA_DEFAULT_NETWORK: mainnet
command: yarn run prod