# -------------------------------------------------------
# RemoteLink — Environment Variables
# Copy this file to .env and fill in the values
# -------------------------------------------------------

# PostgreSQL credentials (used by docker-compose)
POSTGRES_USER=remotelink
POSTGRES_PASSWORD=change_me_strong_password
POSTGRES_DB=remotelink

# Full database URL (auto-built from above in docker-compose, but set here for local dev)
DATABASE_URL=postgresql://remotelink:change_me_strong_password@localhost:5432/remotelink

# NextAuth secret — generate with: openssl rand -base64 32
AUTH_SECRET=change_me_generate_with_openssl_rand_base64_32

# Public URL of the app (used for invite links, etc.)
NEXT_PUBLIC_APP_URL=http://localhost:3000

# Relay WebSocket server address as seen from the browser (host:port)
# For production behind a reverse proxy, set to your domain (no port if using 443/80)
NEXT_PUBLIC_RELAY_URL=localhost:8765
