2025-11-25 14:26:58 +00:00
|
|
|
services:
|
|
|
|
|
- type: web
|
|
|
|
|
name: notediscovery-demo
|
|
|
|
|
env: docker
|
|
|
|
|
|
|
|
|
|
# OPTION 1: Pull pre-built image from GHCR (Recommended - faster, consistent)
|
|
|
|
|
# Uses images built by GitHub Actions and published to ghcr.io
|
|
|
|
|
# Deployment: Click "Manual Deploy" in Render Dashboard to pull latest
|
|
|
|
|
image:
|
|
|
|
|
url: ghcr.io/gamosoft/notediscovery:latest
|
|
|
|
|
|
|
|
|
|
# OPTION 2: Build from source (Fallback if GHCR unavailable)
|
|
|
|
|
# Comment out 'image' above and uncomment these lines to build on Render:
|
|
|
|
|
# dockerfilePath: ./Dockerfile
|
|
|
|
|
# dockerContext: .
|
|
|
|
|
|
|
|
|
|
plan: free
|
|
|
|
|
region: oregon
|
|
|
|
|
healthCheckPath: /health
|
|
|
|
|
envVars:
|
|
|
|
|
- key: PORT
|
|
|
|
|
value: 8000
|
|
|
|
|
- key: DEMO_MODE
|
|
|
|
|
value: "true"
|
2025-11-25 15:41:08 +00:00
|
|
|
- key: AUTHENTICATION_ENABLED
|
|
|
|
|
value: "true"
|
2025-11-25 16:39:43 +00:00
|
|
|
|
|
|
|
|
# ⚠️ DEMO CREDENTIALS - DO NOT USE IN PRODUCTION! ⚠️
|
|
|
|
|
# These are public demo credentials for testing only.
|
2026-03-13 10:50:47 +00:00
|
|
|
- key: AUTHENTICATION_PASSWORD
|
|
|
|
|
value: "admin"
|
2025-11-25 16:39:43 +00:00
|
|
|
|
|
|
|
|
# ⚠️ PUBLIC SECRET KEY - DEMO ONLY! ⚠️
|
|
|
|
|
# For production, generate a new key with:
|
|
|
|
|
# python -c "import secrets; print(secrets.token_hex(32))"
|
2025-11-25 15:41:08 +00:00
|
|
|
- key: AUTHENTICATION_SECRET_KEY
|
|
|
|
|
value: "4f36da5af76627301dcdc0347c4b111bdc6c86ae830444af852de935198c3210"
|
2025-11-25 14:26:58 +00:00
|
|
|
|
|
|
|
|
# Manual deployment only
|
|
|
|
|
autoDeploy: false
|