Add docker-compose deploy path with Coolify-managed secrets
Adds docker-compose.yml so Coolify can provision Postgres and generate DATABASE_URL/SESSION_SECRET/TOKEN_ENCRYPTION_KEY/CRON_SECRET itself via its SERVICE_PASSWORD_* magic variables, instead of an operator typing them into the dashboard by hand. TOKEN_ENCRYPTION_KEY now derives its AES-256 key via SHA-256 instead of requiring exactly 32 raw bytes in base64, so a generated magic variable works regardless of its format. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ DATABASE_URL="postgresql://user:pass@localhost:5432/page_manager"
|
||||
# For prisma dev, use its separate shadow port; never point this at DATABASE_URL.
|
||||
SHADOW_DATABASE_URL=""
|
||||
SESSION_SECRET="" # long random string (jose HS256)
|
||||
TOKEN_ENCRYPTION_KEY="" # npm run gen-key (32 bytes base64)
|
||||
TOKEN_ENCRYPTION_KEY="" # any random string (hashed to a 32-byte key) — npm run gen-key works too
|
||||
META_APP_ID=""
|
||||
META_APP_SECRET="" # verifies webhook X-Hub-Signature-256
|
||||
META_SYSTEM_USER_TOKEN="" # optional — pages can be connected via "Login with Facebook" instead
|
||||
|
||||
Reference in New Issue
Block a user