Files
gruperly/.env.example
Jose Selesan 69275c37b4 chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts.
- Improved descriptions for better understanding of code functionality and purpose.
- Ensured uniformity in terminology and phrasing throughout the codebase.
2026-10-01 16:06:54 -03:00

42 lines
1.7 KiB
Plaintext

# Variable template for `docker compose`.
#
# Local: copy this file to `.env` at the root and fill in the values.
# Dokploy: no file needed; define the same variables in the Environment tab of
# the Compose service (Dokploy writes them to a `.env` next to the compose
# file, which is where the `${...}` come from).
# Public origin of the app, no trailing slash. The same value feeds WEB_URL and
# BETTER_AUTH_URL because nginx proxies /api: the web and the API share a
# domain, so the session cookie is first-party.
WEB_URL="http://localhost:8080"
# Production PostgreSQL.
# The password must be percent-encoded: if it has #, @, :, /, ?, % or a space,
# escape it (%23, %40, %3A, %2F, %3F, %25, %20). Otherwise Prisma truncates the
# URL where the fragment starts and fails with P1013 "invalid port number in
# database URL".
DATABASE_URL="postgresql://user:password@localhost:5432/gruperly?schema=public"
# Generate it with: openssl rand -base64 32
BETTER_AUTH_SECRET=""
# ── Optional ─────────────────────────────────────────────────────────────────
# Social login with Google. Without a client id/secret the provider is not
# registered.
# GOOGLE_CLIENT_ID=""
# GOOGLE_CLIENT_SECRET=""
# Email sending (same variables as apps/backend/.env.example).
# EMAIL_PROVIDER="smtp"
# EMAIL_SERVER_HOST=""
# EMAIL_SERVER_PORT="587"
# EMAIL_SERVER_USER=""
# EMAIL_SERVER_PASSWORD=""
# EMAIL_FROM="Gruperly <no-reply@gruperly.com>"
# Only if you want the API on another domain: it is baked into the Vite bundle
# and forces you to drop the /api proxy from apps/web/nginx.conf. Empty = same
# origin (recommended).
# VITE_API_URL=""