build: autogenerate Coolify environment secrets
Use Coolify-generated database/JWT/admin secrets, assemble DATABASE_URL from the generated DB password, and document the single manual admin email plus rotation requirements.
This commit is contained in:
1 parent
e52e25e990
commit
dd2fc71867
4 files changed
+19
-26
No files matched your search
+9
-17
@@ -1,21 +1,13 @@
|
||||
# GEMINI_API_KEY: Required for Gemini AI API calls.
|
||||
# AI Studio automatically injects this at runtime from user secrets.
|
||||
# Users configure this via the Secrets panel in the AI Studio UI.
|
||||
# Optional settings for other hosting integrations; Coolify Compose does not require them.
|
||||
GEMINI_API_KEY="MY_GEMINI_API_KEY"
|
||||
|
||||
# APP_URL: The URL where this applet is hosted.
|
||||
# AI Studio automatically injects this at runtime with the Cloud Run service URL.
|
||||
# Used for self-referential links, OAuth callbacks, and API endpoints.
|
||||
APP_URL="MY_APP_URL"
|
||||
|
||||
# Production Compose requires unique values for these variables. Copy this file to `.env`
|
||||
# and replace every blank value. Never commit `.env` or use generated placeholders in production.
|
||||
DATASTACK_JWT_SECRET=
|
||||
# Use the Compose service host `postgres`, database `datastack_db`, and user `datastack`.
|
||||
DATABASE_URL=
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
# Required to protect the admin console. Use a long, unique session secret (32+ characters).
|
||||
# Coolify auto-generates these four secrets from docker-compose.yml magic variables:
|
||||
# SERVICE_PASSWORD_64_POSTGRES
|
||||
# SERVICE_REALBASE64_64_JWT
|
||||
# SERVICE_REALBASE64_64_ADMINSESSION
|
||||
# SERVICE_PASSWORDWITHSYMBOLS_64_ADMIN
|
||||
# They are not entered here. JWT/session/admin secrets can be rotated in Coolify.
|
||||
# PostgreSQL password rotation also requires changing the DB role password in the running database.
|
||||
# The only required manual value for Coolify is the administrator's email:
|
||||
DATASTACK_ADMIN_EMAIL=
|
||||
DATASTACK_ADMIN_PASSWORD=
|
||||
DATASTACK_ADMIN_SESSION_SECRET=
|
||||
Reference in new issue
Block a user