A community based topic aggregation platform built on atproto
1# Test Database Docker Compose Configuration
2# This database is specifically for running tests and is isolated from dev/prod
3services:
4 postgres_test:
5 image: postgres:15
6 container_name: coves_test_db
7 network_mode: host
8 environment:
9 POSTGRES_DB: coves_test
10 POSTGRES_USER: test_user
11 POSTGRES_PASSWORD: test_password
12 PGPORT: 5434 # Different port from dev (5433) and prod (5432)
13 volumes:
14 - ~/Code/Coves/test_db_data:/var/lib/postgresql/data
15 healthcheck:
16 test: ["CMD-SHELL", "pg_isready -U test_user -d coves_test -p 5434"]
17 interval: 5s
18 timeout: 5s
19 retries: 5