-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (73 loc) · 2.9 KB
/
docker-compose.yml
File metadata and controls
79 lines (73 loc) · 2.9 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
name: hollab-core
services:
# ── Infrastructure ───────────────────────────────────────────────────────────
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: hollab_indexing
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- internal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
# ── Ponder indexer ───────────────────────────────────────────────────────────
indexing-server:
build:
context: .
dockerfile: Dockerfile
target: indexing-server
environment:
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/hollab_indexing
DATABASE_SCHEMA: ponder
PONDER_RPC_URL_1: ${PONDER_RPC_URL_1}
START_BLOCK: ${START_BLOCK}
HOLACRACY_DATA_PROVIDER_ADDRESS: ${HOLACRACY_DATA_PROVIDER_ADDRESS}
ORGANIZATION_FACTORY_ADDRESS: ${ORGANIZATION_FACTORY_ADDRESS}
HOL_GOVERNOR_FACTORY_ADDRESS: ${HOL_GOVERNOR_FACTORY_ADDRESS}
MEETING_COMPONENTS_FACTORY_ADDRESS: ${MEETING_COMPONENTS_FACTORY_ADDRESS}
ports:
- "42069:42069"
depends_on:
postgres:
condition: service_healthy
restart: unless-stopped
networks:
- internal
# ── Hola Modern (staging) ─────────────────────────────────────────────────
hola-modern:
build:
context: .
dockerfile: Dockerfile
target: hola-modern
args:
VITE_WALLETCONNECT_PROJECT_ID: ""
VITE_INDEXER_URL: "https://indexer.hollab.io"
restart: unless-stopped
networks:
- internal
# ── Nginx ────────────────────────────────────────────────────────────────────
nginx:
image: nginx:1.27-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- indexing-server
- hola-modern
restart: unless-stopped
networks:
- internal
volumes:
postgres_data:
networks:
internal:
driver: bridge