-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
65 lines (58 loc) · 2.83 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
65 lines (58 loc) · 2.83 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
# ─────────────────────────────────────────────────────────────────────────────
# CivicLens — Docker Compose (Development with pgAdmin)
# ─────────────────────────────────────────────────────────────────────────────
# Usage:
# docker compose -f docker-compose.dev.yml up -d
# docker compose -f docker-compose.dev.yml down -v
# ─────────────────────────────────────────────────────────────────────────────
services:
# ─── Qdrant Vector Database ───────────────────────────────────────────────────
qdrant:
image: qdrant/qdrant:latest
container_name: civiclens_qdrant_dev
restart: unless-stopped
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_data_dev:/qdrant/storage
# ─── PostgreSQL ─────────────────────────────────────────────────────────────
postgres:
image: postgis/postgis:16-3.4-alpine
container_name: civiclens_postgres_dev
restart: unless-stopped
environment:
POSTGRES_USER: civiclens
POSTGRES_PASSWORD: password
POSTGRES_DB: civiclens_dev
ports:
- "5432:5432"
volumes:
- postgres_data_dev:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U civiclens -d civiclens_dev"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
# ─── pgAdmin ────────────────────────────────────────────────────────────────
pgadmin:
container_name: civiclens_pgadmin
image: dpage/pgadmin4
restart: unless-stopped
environment:
PGADMIN_DEFAULT_EMAIL: admin@civiclens.com
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_CONFIG_SERVER_MODE: 'False'
ports:
- "5050:80"
depends_on:
postgres:
condition: service_healthy
volumes:
- ./pgadmin-servers.json:/pgadmin4/servers.json:ro
# ─── Named Volumes ──────────────────────────────────────────────────────────
volumes:
postgres_data_dev:
qdrant_data_dev:
driver: local