Files
loki/docker-compose.yml
T
Mao NakamotoandClaude Opus 4.8 334b1bd404 docs: correct stale infra/brand drift to current reality
Bring docs + config in line with what's actually deployed (self-hosted
Hetzner, Postgres 'fleetcrown', no Vercel/Neon):

- .env.example: 'Production (Vercel)' -> self-hosted Hetzner; drop the
  removed-in-c6bc058 Neon fallback line (NEON_* is no longer read);
  cockpit-app -> fleetcrown-app; cockpit DB -> fleetcrown in example URL
- docker-compose.yml: local-dev Postgres db/user cockpit -> fleetcrown
  (matches the box DB name; was internally inconsistent)
- docs/debt-reduction-roadmap.md + scripts/fleet: dead /home/g/dev/cockpit/
  paths -> /home/g/dev/fleetcrown/ (repo was renamed; links were broken)
- scrub real-name/email leaks from committed content: 'George' -> 'a solo
  founder' in the kill-switch essay; real test email -> generic in the
  one-click dev plan (pseudonym hygiene)

Preserved all legitimate historical mentions (migration docs, thoughts
essays describing the exit from Vercel/Neon).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 20:00:25 +02:00

46 lines
1.2 KiB
YAML

services:
db:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: fleetcrown
POSTGRES_USER: fleetcrown
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-changeme}
volumes:
- db_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U fleetcrown"]
interval: 5s
timeout: 3s
retries: 10
migrate:
image: node:22-alpine
working_dir: /app
volumes:
- .:/app
environment:
DATABASE_URL: postgresql://fleetcrown:${POSTGRES_PASSWORD:-changeme}@db:5432/fleetcrown
command: sh -c "npm ci --prefer-offline && npx drizzle-kit push"
depends_on:
db:
condition: service_healthy
app:
build: .
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
DATABASE_URL: postgresql://fleetcrown:${POSTGRES_PASSWORD:-changeme}@db:5432/fleetcrown
AUTH_SECRET: ${AUTH_SECRET}
LOCAL_AUTH_PASSWORD: ${LOCAL_AUTH_PASSWORD:-}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID:-}
GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET:-}
depends_on:
migrate:
condition: service_completed_successfully
volumes:
db_data: