- compose.yaml: postgres:16-alpine with pg_isready healthcheck (no seed mounts) - .env.example: DATABASE_URL, PORT, ENV (D-15) - .gitignore: bin/, tmp/, .env, generated tailwind.css, bootstrap-downloaded htmx.min.js, *_templ.go, sqlc output - migrations/0001_init.sql: goose no-op bootstrap migration
8 lines
314 B
Text
8 lines
314 B
Text
# Postgres connection string used by the web + worker binaries (and `just migrate`).
|
|
DATABASE_URL=postgres://xtablo:xtablo@localhost:5432/xtablo?sslmode=disable
|
|
|
|
# HTTP port for cmd/web.
|
|
PORT=8080
|
|
|
|
# Environment selector: "development" enables the slog text handler; "production" switches to JSON.
|
|
ENV=development
|