chore: scaffold web, worker, and compose stack

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Jonathan
2026-07-10 16:33:22 +02:00
parent d939f83ce3
commit 599cc76404
13 changed files with 2543 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
services:
db:
image: postgres:17
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
web:
build: ./web
environment:
DATABASE_URL: ${DATABASE_URL}
ports:
- "3000:3000"
depends_on:
db:
condition: service_healthy
worker:
build: ./worker
environment:
DATABASE_URL: ${DATABASE_URL}
depends_on:
db:
condition: service_healthy
volumes:
postgres-data: