34 lines
1.7 KiB
Bash
34 lines
1.7 KiB
Bash
|
|
# ─── Coolify env vars — Diesel Depot ───────────────────────────────────────
|
||
|
|
# Paste each line into Coolify's "Environment Variables" panel.
|
||
|
|
# Coolify sets $PORT and the public domain automatically — do NOT add them.
|
||
|
|
# One variable per line. No spaces around `=`. No quotes unless the value
|
||
|
|
# itself contains spaces.
|
||
|
|
|
||
|
|
# ─── Required ───────────────────────────────────────────────────────────────
|
||
|
|
|
||
|
|
# The URL the browser hits to reach PocketBase. Use the EXTERNAL https URL
|
||
|
|
# of your PB service in Coolify (e.g. https://pb.example.com), NOT the
|
||
|
|
# internal docker DNS name. Trailing slash optional.
|
||
|
|
NEXT_PUBLIC_POCKETBASE_URL=https://pb.example.com
|
||
|
|
|
||
|
|
# ─── Optional (defaults work out of the box) ────────────────────────────────
|
||
|
|
|
||
|
|
# The port the Next.js server listens on inside the container. Coolify
|
||
|
|
# usually sets $PORT itself; only set this if you want a non-default value.
|
||
|
|
# PORT=3000
|
||
|
|
|
||
|
|
# Bind host. Leave as 0.0.0.0 to accept connections from Coolify's proxy.
|
||
|
|
# HOSTNAME=0.0.0.0
|
||
|
|
|
||
|
|
# Skips Next.js' anonymous telemetry ping during build & runtime.
|
||
|
|
# NEXT_TELEMETRY_DISABLED=1
|
||
|
|
|
||
|
|
# NODE_ENV=production
|
||
|
|
|
||
|
|
# ─── NOT needed at runtime (only for one-off admin scripts) ─────────────────
|
||
|
|
# The migration scripts (npm run pb:create, npm run pb:seed) need a
|
||
|
|
# superuser auth token. Set it as a Coolify env var ONLY if you wire those
|
||
|
|
# scripts into a Coolify "one-off command" — otherwise leave it out so it
|
||
|
|
# doesn't get baked into the runtime image.
|
||
|
|
# PB_ADMIN_TOKEN=
|