Research-Stack/5-Applications/AppFlowy-Cloud/.env.example
Brandon Schneider d4603644d2 Add EC2 recovery backup: NixOS config, AppFlowy compose/env template, credential server bootstrap, recovery guide
- ec2-configuration.nix: full NixOS config for aws-nixos-node-1
- docker-compose.minimal.yml: AppFlowy Cloud compose with search_path fix
- .env.example: sanitized AppFlowy env template
- nixos-setup-cred-server.sh: credential server bootstrap
- RECOVERY.md: step-by-step rebuild instructions
- .gitignore: secrets dir excluded
- credential_provider.py reverted to repo HEAD (EC2 had hardcoded AWS creds)
- racknerd_root.txt removed from working tree
2026-05-18 10:44:23 -05:00

41 lines
1.3 KiB
Text

# AppFlowy Cloud - Minimal Configuration
APPFLOWY_BASE_URL=http://researchstack.info/appflowy
APPFLOWY_WS_BASE_URL=ws://researchstack.info/appflowy/ws/v1
# External RDS
RDS_HOST=database-1-instance-1.cghu8yqogqwo.us-east-1.rds.amazonaws.com
RDS_PORT=5432
RDS_DB=postgres
RDS_USER=postgres
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
# Storage (local filesystem via minio)
APPFLOWY_S3_ACCESS_KEY=CHANGEME
APPFLOWY_S3_SECRET_KEY=CHANGEME
APPFLOWY_S3_BUCKET=appflowy
# Auth
GOTRUE_ADMIN_EMAIL=admin@researchstack.info
GOTRUE_ADMIN_PASSWORD=CHANGEME
GOTRUE_BASE_URL=http://researchstack.info/appflowy/gotrue
GOTRUE_SITE_URL=http://researchstack.info
GOTRUE_DISABLE_SIGNUP=false
# Encryption
APPFLOWY_ENCRYPTION_KEY=CHANGE_THIS
APPFLOWY_JWT_SECRET=CHANGE_THIS
# External URLs (for Caddy proxying)
API_EXTERNAL_URL=https://researchstack.info/appflowy/gotrue
APPFLOWY_WEB_URL=https://researchstack.info/appflowy
APPFLOWY_DATABASE_URL=postgres://postgres@database-1-instance-1.cghu8yqogqwo.us-east-1.rds.amazonaws.com:5432/postgres?sslmode=require
GOTRUE_JWT_SECRET=${APPFLOWY_JWT_SECRET}
GOTRUE_DATABASE_URL=${APPFLOWY_DATABASE_URL}
APPFLOWY_GOTRUE_BASE_URL=http://gotrue:9999
APPFLOWY_GOTRUE_JWT_SECRET=${APPFLOWY_JWT_SECRET}
APPFLOWY_S3_CREATE_BUCKET=false
APPFLOWY_S3_USE_MINIO=false
GOTRUE_MAILER_AUTOCONFIRM=true