1
mirror of https://github.com/jakejarvis/domainstack.io.git synced 2025-12-02 19:33:48 -05:00
Files
domainstack.io/docker-compose.yml

30 lines
700 B
YAML

services:
# Local Postgres (TCP on 5432)
postgres:
image: postgres:17
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: main
ports:
- "5432:5432"
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d main"]
interval: 10s
timeout: 5s
retries: 5
# Inngest Dev Server on 8288
# Next.js runs on the HOST at :3000; the dev server reaches it via host.docker.internal
inngest:
image: inngest/inngest:latest
command: >
inngest dev -u http://host.docker.internal:3000/api/inngest
ports:
- "8288:8288"
volumes:
pg_data: