-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
19 lines (16 loc) · 980 Bytes
/
Copy path.env.example
File metadata and controls
19 lines (16 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# --- Docker Compose (required for `docker compose up`) ---
JUDGE0_API_URL=http://server:2358
JUDGE0_POSTGRES_PASSWORD=
APP_POSTGRES_PASSWORD=
# --- Local `npm run dev` / `next-app` only (host machine → published port 5433) ---
# Docker Compose sets APP_DATABASE_URL automatically for containers.
#
# For host CLI (`npm run db:migrate`, `db:seed`, drizzle-kit): either omit APP_DATABASE_URL and
# set only APP_POSTGRES_PASSWORD (URL is built as postgres://app:PASSWORD@127.0.0.1:5433/app), or
# set APP_DATABASE_URL with the SAME password as APP_POSTGRES_PASSWORD. If you still see
# "password authentication failed", fix the URL, remove a stale APP_DATABASE_URL in next-app/.env.local,
# or reset app-db if the volume was created with a different password.
APP_DATABASE_URL=
# --- Next.js (optional; set in production for correct canonical URLs, Open Graph, and sitemap) ---
# Example: https://your-domain.com (no trailing slash)
NEXT_PUBLIC_SITE_URL=https://mikkaiser.com