交付 FastAPI/Celery/Vue 薄壳、FORCE RLS、Compose 回环与 review 修复证据,关闭 M01 DONE_LOCAL。 Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
1.3 KiB
Bash
27 lines
1.3 KiB
Bash
# Copy to .env.dev / .env.local and replace placeholders.
|
|
# .env.local is never committed.
|
|
|
|
# Bootstrap only (local superuser). Prefer system env or .env.local.
|
|
WATCHMAN_BOOTSTRAP_DATABASE_URL=postgresql+psycopg://postgres:CHANGE-ME@127.0.0.1:5432/postgres
|
|
|
|
# App and migrator roles (not the bootstrap superuser)
|
|
WATCHMAN_MIGRATOR_PASSWORD=CHANGE-ME
|
|
WATCHMAN_APP_PASSWORD=CHANGE-ME
|
|
|
|
DATABASE_URL=postgresql+psycopg://watchman_app:CHANGE-ME@127.0.0.1:5432/watchman
|
|
DATABASE_MIGRATOR_URL=postgresql+psycopg://watchman_migrator:CHANGE-ME@127.0.0.1:5432/watchman
|
|
|
|
# Server-injected tenant for M01; keep out of committed shared env.
|
|
WATCHMAN_TENANT_ID=dev-tenant
|
|
|
|
# Queue (host processes talk to published RabbitMQ port).
|
|
# DEV ONLY: RabbitMQ image default guest/guest — never reuse in non-local brokers.
|
|
CELERY_BROKER_URL=amqp://guest:guest@127.0.0.1:56729//
|
|
|
|
# Compose app profile overrides (gitignored .env.local only)
|
|
# DEV ONLY guest/guest for the local compose RabbitMQ service.
|
|
CELERY_BROKER_URL_DOCKER=amqp://guest:guest@rabbitmq:5672//
|
|
DATABASE_URL_DOCKER=postgresql+psycopg://watchman_app:CHANGE-ME@host.docker.internal:5432/watchman
|
|
DATABASE_MIGRATOR_URL_DOCKER=postgresql+psycopg://watchman_migrator:CHANGE-ME@host.docker.internal:5432/watchman
|
|
COMPOSE_POSTGRES_PASSWORD=CHANGE-ME
|