- Added a new `api` service for the NestJS backend, including health checks and dependencies on PostgreSQL, Redis, and MinIO. - Introduced PostgreSQL and Redis services with health checks and configurations for data persistence. - Added MinIO for S3-compatible object storage and a one-shot service to initialize required buckets. - Updated the Nginx configuration to proxy requests to the new backend API and MinIO storage. - Enhanced the Dockerfile to support the new API environment variables and configurations. - Updated the `package.json` and `package-lock.json` to include new dependencies for QR code generation and other utilities. Co-authored-by: Cursor <cursoragent@cursor.com>
97 lines
2.0 KiB
Plaintext
97 lines
2.0 KiB
Plaintext
ENVIRONMENT=local # local | development | production
|
|
|
|
# App - Local
|
|
PORT=4000
|
|
DOMAIN=localhost:4000
|
|
FRONTEND_URL=http://localhost:3000
|
|
|
|
# DB - API
|
|
DATABASE_HOST=localhost
|
|
DATABASE_PORT=5432
|
|
DATABASE_USER=postgres
|
|
DATABASE_PASSWORD=local
|
|
DATABASE_NAME=indeehub
|
|
|
|
# DB - EVENTS/ANALYTICS (POSTHOG)
|
|
DATABASE_POSTHOG_HOST=localhost
|
|
DATABASE_POSTHOG_PORT=5434
|
|
DATABASE_POSTHOG_USER=postgres
|
|
DATABASE_POSTHOG_PASSWORD=local
|
|
DATABASE_POSTHOG_NAME=staging
|
|
|
|
# Trascoding Queue - Local
|
|
QUEUE_HOST=localhost
|
|
QUEUE_PORT=6379
|
|
QUEUE_PASSWORD=
|
|
|
|
# BTCPay Server - Bitcoin/Lightning Payments
|
|
BTCPAY_URL=https://btcpay.yourdomain.com
|
|
BTCPAY_STORE_ID=
|
|
BTCPAY_API_KEY=
|
|
BTCPAY_WEBHOOK_SECRET=
|
|
|
|
# User Pool - AWS Cognito
|
|
COGNITO_USER_POOL_ID=
|
|
COGNITO_CLIENT_ID=
|
|
|
|
# Sendgrid - Email Service
|
|
SENDGRID_API_KEY=
|
|
SENDGRID_SENDER=
|
|
SENDGRID_WAITLIST=
|
|
|
|
# AWS KEYS
|
|
AWS_ACCESS_KEY=
|
|
AWS_SECRET_KEY=
|
|
AWS_REGION=
|
|
|
|
# AWS S3
|
|
S3_PUBLIC_BUCKET_URL=
|
|
S3_PUBLIC_BUCKET_NAME=
|
|
|
|
# AWS CloudFront
|
|
CLOUDFRONT_PRIVATE_KEY=
|
|
CLOUDFRONT_KEY_PAIR_ID=
|
|
|
|
# Note: Stripe has been removed. All payments are now via BTCPay Server (Lightning).
|
|
|
|
# PAY WITH FLASH - ENTHUSIAST SUBSCRIPTION
|
|
FLASH_JWT_SECRET_ENTHUSIAST=
|
|
|
|
# PAY WITH FLASH - FILM BUFF SUBSCRIPTION
|
|
FLASH_JWT_SECRET_FILM_BUFF=
|
|
|
|
# PAY WITH FLASH - CINEPHILE SUBSCRIPTION
|
|
FLASH_JWT_SECRET_CINEPHILE=
|
|
|
|
# PAY WITH FLASH - RSS ADDON SUBSCRIPTION
|
|
FLASH_JWT_SECRET_RSS_ADDON=
|
|
|
|
# PAY WITH FLASH - VERIFICATION ADDON SUBSCRIPTION
|
|
FLASH_JWT_SECRET_VERIFICATION_ADDON=
|
|
|
|
# Transcoding API
|
|
TRANSCODING_API_KEY=
|
|
TRANSCODING_API_URL=http://localhost:4001
|
|
|
|
# Podping - RSS Update Notifications
|
|
PODPING_URL=https://podping.cloud/
|
|
PODPING_KEY=
|
|
PODPING_USER_AGENT=
|
|
|
|
# Retool API KEY - Admin Dashboard
|
|
ADMIN_API_KEY=
|
|
|
|
# PostHog - Analytics
|
|
POSTHOG_API_KEY=
|
|
|
|
# Sentry - Error Tracking
|
|
SENTRY_ENVIRONMENT=
|
|
|
|
# BUYDRM
|
|
PRIVATE_AUTH_CERTIFICATE_KEY_ID =
|
|
DRM_SECRET_NAME =
|
|
|
|
# Project Review
|
|
DASHBOARD_REVIEW_URL = https://oneseventech.retool.com/apps/5e86de84-7cdb-11ef-998f-47951c6124a1/Testing%20IndeeHub/film-details?id=
|
|
PROJECT_REVIEW_RECIPIENT_EMAIL = <your email>
|