# Copy to .env and fill in. Never commit the real .env. # Postgres connection string DATABASE_URL="postgresql://user:password@localhost:5432/transfertribe" # Where encrypted transfer payloads are written, relative to the project root. UPLOAD_DIR="./uploads/files" # Mailjet credentials for transfer notification emails MJ_API_KEY="" MJ_SECRET_KEY="" # Public base URL, used to build download links in emails NEXT_PUBLIC_APP_URL="http://localhost:3000" # NextAuth NEXTAUTH_URL="http://localhost:3000" NEXTAUTH_SECRET="" # Google OAuth GOOGLE_CLIENT_ID="" GOOGLE_CLIENT_SECRET="" # Shared secret for POST /api/cron/cleanup, which deletes payloads belonging to # expired and soft-deleted transfers. Without it that endpoint refuses to run # and nothing ever reclaims disk. Generate with: openssl rand -hex 32 CRON_SECRET=""