Django/DRF + PostgreSQL/Redis/Celery backend with accounts, library, moments, and notifications apps; React/TypeScript/Vite frontend with Instagram-style sidebar nav, feed, profiles, nested comment replies, notifications, and photo/video upload with ffmpeg-generated posters. Co-Authored-By: Claude Sonnet 5 <[email protected]>
31 lines
916 B
Bash
31 lines
916 B
Bash
# Copy to .env and adjust for your environment.
|
|
# docker-compose reads this file automatically.
|
|
|
|
POSTGRES_DB=aurora_moments
|
|
POSTGRES_USER=aurora
|
|
POSTGRES_PASSWORD=aurora
|
|
DATABASE_URL=postgres://aurora:aurora@postgres:5432/aurora_moments
|
|
|
|
REDIS_URL=redis://redis:6379/0
|
|
|
|
DJANGO_SECRET_KEY=change-me-in-production
|
|
DEBUG=True
|
|
DJANGO_ALLOWED_HOSTS=*
|
|
CORS_ALLOWED_ORIGINS=http://localhost:5173
|
|
|
|
# Where original photos/videos and derived renditions are stored.
|
|
# filesystem: written under MEDIA_ROOT below (bind-mount this to your NAS
|
|
# path in production, e.g. /srv/aurora-moments/storage).
|
|
# s3: any S3-compatible object store (AWS S3, MinIO, Backblaze B2, ...).
|
|
MEDIA_BACKEND=filesystem
|
|
MEDIA_ROOT=/app/media
|
|
|
|
# Only used when MEDIA_BACKEND=s3
|
|
AWS_ACCESS_KEY_ID=
|
|
AWS_SECRET_ACCESS_KEY=
|
|
AWS_STORAGE_BUCKET_NAME=aurora-moments
|
|
AWS_S3_ENDPOINT_URL=
|
|
AWS_S3_REGION_NAME=us-east-1
|
|
|
|
VITE_API_BASE_URL=http://localhost:8000
|