- Removed boxed background from grid tasks and added hover-only resize handle - Fixed vertical drop calculation using correct cell sizes - Aligned time column header perfectly using a structural ghost replica - Added collision detection to prevent dragging tasks over occupied slots
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
# ==============================================================================
|
|
# My Weekly ToDo List - Environment Variables
|
|
# ==============================================================================
|
|
# Copy this file to .env.docker (production), .env.docker.dev (development),
|
|
# or .env.docker.local (local) and fill in your actual values.
|
|
# NEVER commit files containing real credentials to version control.
|
|
# ==============================================================================
|
|
|
|
# --- Database ---
|
|
# PostgreSQL connection string (Docker service name "db" as host)
|
|
DATABASE_URL=postgresql://YOUR_DB_USER:YOUR_DB_PASSWORD@db:5432/My-Weekly-ToDo-List?schema=public
|
|
POSTGRES_DB=My-Weekly-ToDo-List
|
|
POSTGRES_USER=YOUR_DB_USER
|
|
POSTGRES_PASSWORD=YOUR_DB_PASSWORD
|
|
|
|
# --- NextAuth ---
|
|
# Generate a secret: openssl rand -base64 32
|
|
NEXTAUTH_SECRET=YOUR_NEXTAUTH_SECRET
|
|
# The public URL where the app is accessible
|
|
NEXTAUTH_URL=https://your-domain.com
|
|
NEXT_PUBLIC_BASE_URL=https://your-domain.com
|
|
|
|
# --- SMTP (Email) ---
|
|
# Required for email verification and password reset
|
|
SMTP_HOST=smtp.example.com
|
|
SMTP_PORT=587
|
|
SMTP_USERNAME=your-email@example.com
|
|
SMTP_PASSWORD=YOUR_SMTP_PASSWORD
|
|
SMTP_SECURE=true
|
|
|
|
# --- Google OAuth (optional) ---
|
|
# Required for Google Calendar and Google Tasks integration
|
|
# Set up at: https://console.cloud.google.com/apis/credentials
|
|
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
|
|
GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET
|
|
GOOGLE_REDIRECT_URI=https://your-domain.com/api/calendar/google/oauth
|
|
|
|
# --- Microsoft OAuth (optional) ---
|
|
# Required for Outlook Calendar and Microsoft To-Do integration
|
|
# Set up at: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps
|
|
MICROSOFT_CLIENT_ID=YOUR_MICROSOFT_CLIENT_ID
|
|
MICROSOFT_CLIENT_SECRET=YOUR_MICROSOFT_CLIENT_SECRET
|
|
MICROSOFT_REDIRECT_URI=https://your-domain.com/api/calendar/outlook/callback
|