# Environment for the imagen-worker.service systemd unit. # Copy to ~/.dotfiles/.env.imagen-worker and fill in real values. # Never commit the populated file — it carries the Supabase service-role key. # Direct Postgres DSN for LISTEN/NOTIFY + imagen.jobs UPDATE statements. # PostgREST cannot LISTEN, so the worker connects to Postgres directly. # Host + port + password come from the msupabase compose env on mlake. IMAGEN_WORKER_DATABASE_URL=postgres://postgres:CHANGE_ME@100.99.98.201:6789/postgres?sslmode=disable # PostgREST endpoint for the imagen.images cloud-sync writer (same as # `imagen generate`'s cloud-sync code path). SUPABASE_URL=https://supa.flexsiebels.de SUPABASE_SERVICE_KEY=CHANGE_ME # Default owner_user_id. Per-job owner from the imagen.jobs row overrides # this, so it's only used as a fallback when a job arrives with a NULL # owner_user_id — which the schema disallows. Keep it set for safety. IMAGEN_OWNER_USER_ID=ac6c9501-3757-4a6d-8b97-2cff4288382b # Optional: REPLICATE_API_TOKEN if any imagen.jobs.backend may resolve to # a Replicate adapter instance. # REPLICATE_API_TOKEN=CHANGE_ME