-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
62 lines (58 loc) · 1.39 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
version: "3"
# TODO: Currently this file only includes a setup for Kreate Testnet (preview)
services:
ogmios-with-node:
image: cardanosolutions/cardano-node-ogmios:v5.6.0_1.35.4-preview
platform: linux/amd64
volumes:
- node-db:/db
- node-ipc:/ipc
ports:
- "1337:1337" # Ogmios, both the WebSocket and the HTTP server
- "13000:3000" # cardano-node relay
- "12788:12788" # cardano-node EKG
- "12798:12798" # cardano-node Prometheus
restart: on-failure
ipfs:
image: ipfs/kubo:v0.19.0
volumes:
- ipfs-data:/data/ipfs
ports:
- "4001:4001"
- "4001:4001/udp"
- "5001:5001"
- "8080:8080"
restart: on-failure
postgres:
image: postgres:15.2-alpine3.17
environment:
POSTGRES_PASSWORD: kreate
POSTGRES_DB: kreate
volumes:
- postgres-data:/var/lib/postgresql/data
ports:
- "15432:5432"
restart: on-failure
index:
image: kreate/index:latest
build:
context: .
args:
- COMMIT_SHA
depends_on:
- ogmios-with-node
- ipfs
- postgres
env_file:
- .env.testnet
environment:
DATABASE_URL: postgres://postgres:kreate@postgres:5432/kreate
OGMIOS_HOST: ogmios-with-node
OGMIOS_PORT: 1337
IPFS_SERVER_URL: http://ipfs:5001
restart: on-failure
volumes:
node-db:
node-ipc:
postgres-data:
ipfs-data: