Files
biggus-dickus/docker-compose.yml
logaritmisk 869a2c6e50 docs(dev): Running locally + tests README; add Meilisearch to compose; env defaults
Single docker compose (Postgres + Meilisearch) for dev and tests. .env.example
now works out-of-the-box (SESSION_COOKIE_SECURE=false for http://localhost login;
MEILI_* matching compose).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 14:52:34 +02:00

33 lines
760 B
YAML

services:
postgres:
image: postgres:17
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: cms_dev
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 3s
retries: 10
meilisearch:
image: getmeili/meilisearch:v1.12
environment:
# Development mode relaxes the production master-key length requirement and
# enables the search-preview UI. The key below is for local use only.
MEILI_ENV: development
MEILI_MASTER_KEY: masterKey
ports:
- "7700:7700"
volumes:
- meilidata:/meili_data
volumes:
pgdata:
meilidata: