-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.preprod.yml
100 lines (96 loc) · 2.44 KB
/
docker-compose.preprod.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
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
services:
postgres-preprod:
image: postgres:16.1-alpine
profiles: ["preprod"]
env_file: ./.env
environment:
- POSTGRES_LOGGING=true
ports:
- 127.0.0.1:5433:5432
shm_size: '2gb'
volumes:
- ./config/postgresql/postgresql.testnet.conf:/etc/postgresql.conf
- postgres-data-preprod:/var/lib/postgresql/data
command: [
"-c", "config_file=/etc/postgresql.conf"
]
restart: on-failure
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
cardano-node-ogmios-preprod:
image: cardanosolutions/cardano-node-ogmios:v6.3.0_8.10.1-pre-preprod
profiles: ["preprod"]
logging:
driver: "json-file"
options:
max-size: "400k"
max-file: "20"
ports:
- 127.0.0.1:1338:1337
- 3001:3000
volumes:
- node-db-preprod:/db
- node-ipc-preprod:/ipc
restart: on-failure
cardano-db-sync-preprod:
# image: ghcr.io/intersectmbo/cardano-db-sync:13.2.0.2
build:
context: .
target: cardano-db-sync
profiles: ["preprod"]
env_file: ./.env
command: [
"--config", "config/cardano-db-sync/config.json",
"--socket-path", "/node-ipc/node.socket",
"--consumed-tx-out"
]
environment:
- EKG=Y
- RESTORE_SNAPSHOT=${RESTORE_SNAPSHOT_PREPROD:-}
- POSTGRES_HOST=postgres-preprod
- POSTGRES_PORT=5432
depends_on:
- cardano-node-ogmios-preprod
- postgres-preprod
volumes:
- ./config/cardano-configurations/network/preprod:/config
- node-ipc-preprod:/node-ipc
- db-sync-data-preprod:/var/lib/cexplorer
restart: on-failure
stop_signal: SIGINT
logging:
driver: "local"
options:
max-size: "200k"
max-file: "10"
koios-tiny-preprod:
profiles: ["preprod"]
build:
context: .
target: koios-tiny
env_file: ./.env
environment:
- NETWORK=preprod
- POSTGRES_HOST=postgres-preprod
- POSTGRES_PORT=5432
- PGHOST=postgres-preprod
- PGPORT=5432
- PGRST_DB_URI=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres-preprod:5432/$POSTGRES_DB
ports:
- 127.0.0.1:8051:8050
depends_on:
- postgres-preprod
restart: on-failure
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
volumes:
db-sync-data-preprod:
node-db-preprod:
node-ipc-preprod:
postgres-data-preprod: