forked from Lay3rLabs/TrustGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
103 lines (96 loc) · 2.71 KB
/
Copy pathdocker-compose.yml
File metadata and controls
103 lines (96 loc) · 2.71 KB
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
101
102
103
###################################
#
# task start-all-local
#
###################################
# docker volume rm $(docker volume ls -q -f "dangling=true")
services:
warg-server:
image: "ghcr.io/reecepbcups/warg-registry:v0.9.3"
container_name: "warg-server"
platform: linux/amd64
environment:
WARG_OPERATOR_KEY: ecdsa-p256:I+UlDo0HxyBBFeelhPPWmD+LnklOpqZDkrFP5VduASk=
WARG_NAMESPACE: example
WKG_REGISTRY: http://localhost:5000
WARG_CONTENT_BASE_URL: http://localhost:8090
WARG_LISTEN: 0.0.0.0:8090
WARG_VERBOSE: 1
ports:
- 8090:8090
command: ["--rm"]
ipfs:
image: ipfs/kubo:v0.37.0
container_name: ipfs
network_mode: host
ports:
- "4001:4001"
- "4001:4001/udp"
- "8080:8080"
- "5001:5001"
stop_signal: SIGKILL
command: daemon
restart: unless-stopped
ponder-db:
image: postgres:17
# container_name: ponder-db
environment:
POSTGRES_DB: ponder
POSTGRES_USER: ponder
POSTGRES_PASSWORD: ponder
volumes:
- ponder-db-data:/var/lib/postgresql/data
ports:
- "6432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ponder -U ponder"]
interval: 1s
timeout: 3s
retries: 5
restart: unless-stopped
# ponder:
# image: node:22-alpine
# container_name: ponder
# working_dir: /app/indexer
# network_mode: host
# volumes:
# - .:/app
# command: sh -c "npm install -g pnpm && CI=true pnpm install --ignore-scripts && pnpm run db:migrate && pnpm run start --schema v1 --views-schema trust-graph"
# depends_on:
# - ponder-db
# ports:
# - "65421:65421"
# healthcheck:
# test: ["CMD-SHELL", "wget -q --spider http://localhost:65421/health || exit 1"]
# interval: 10s
# timeout: 5s
# retries: 10
# start_period: 10s
# environment:
# DATABASE_URL: postgresql://ponder:ponder@localhost:6432/ponder
# restart: unless-stopped
# ponder-server:
# image: node:22-alpine
# container_name: ponder-server
# working_dir: /app/indexer
# network_mode: host
# volumes:
# - .:/app
# command: sh -c "npm install -g pnpm && CI=true pnpm install --ignore-scripts && pnpm run serve --schema trust-graph"
# depends_on:
# ponder:
# condition: service_healthy
# ports:
# - "65422:65422"
# healthcheck:
# test: ["CMD-SHELL", "wget -q --spider http://localhost:65422/health || exit 1"]
# interval: 10s
# timeout: 5s
# retries: 10
# start_period: 10s
# environment:
# DATABASE_URL: postgresql://ponder:ponder@localhost:6432/ponder
# restart: unless-stopped
volumes:
ollama-data:
ponder-db-data: