docs: fix bug sync environment editor after lazy env load

This commit is contained in:
KodekaTeam committed 2026-06-18 23:17:55 +07:00
1 parent 133beb51e5
commit 30e1c5e934
2 files changed
+10 -10

No files matched your search

+6 -6
View File
@@ -2,7 +2,7 @@
# Doktainer Docker Runtime Environment
# ==========================================
/* -------------------------------- Runtime -------------------------------- */
# /* -------------------------------- Runtime -------------------------------- */
NEXT_PUBLIC_PANEL_NAME=DOKTAINER
NEXT_PUBLIC_VERSION=v0.1.2
NEXT_PUBLIC_BATCH=Batch-20260616
@@ -16,7 +16,7 @@ NEXT_PUBLIC_API_PORT=4000
# for app-side public URL generation.
# NEXT_PUBLIC_PANEL_URL=https://panel.example.com
/* --------------- Connection settings for PostgreSQL database -------------- */
# /* --------------- Connection settings for PostgreSQL database -------------- */
POSTGRES_DB=doktainer
POSTGRES_USER=doktainer
POSTGRES_PASSWORD=doktainerdb
@@ -24,7 +24,7 @@ POSTGRES_PORT=5432
DATABASE_URL=postgresql://doktainer:doktainerdb@postgres:5432/doktainer?schema=public
/* ------------------------------- App server ------------------------------ */
# /* ------------------------------- App server ------------------------------ */
NODE_ENV=production
# Bind address for the backend process inside the container.
@@ -38,7 +38,7 @@ JWT_EXPIRES_IN=7d
# Encryption key for SSH private keys (AES-256)
ENCRYPTION_KEY=dev-32-char-encryption-key-here!
/* -------------------------- Public URL / callbacks ------------------------ */
# /* -------------------------- Public URL / callbacks ------------------------ */
# Public URL priority for absolute links and OAuth callbacks:
# 1. NEXT_PUBLIC_PANEL_URL
# 2. FRONTEND_URL
@@ -55,7 +55,7 @@ ENCRYPTION_KEY=dev-32-char-encryption-key-here!
# FRONTEND_URL=https://panel.example.com
/* -------------------------- Reverse proxy / CORS -------------------------- */
# /* -------------------------- Reverse proxy / CORS -------------------------- */
# When Doktainer sits behind Nginx, Traefik, Caddy, Cloudflare Tunnel, or another reverse proxy,
# set TRUST_PROXY=true so Fastify trusts forwarded host/protocol headers.
@@ -71,7 +71,7 @@ ENCRYPTION_KEY=dev-32-char-encryption-key-here!
INTERNAL_API_URL=http://127.0.0.1:4000
/* ------------------------- Docker image / compose ------------------------- */
# /* ------------------------- Docker image / compose ------------------------- */
# Optional image and compose naming overrides
COMPOSE_PROJECT_NAME=Doktainer
+4 -4
View File
@@ -2,7 +2,7 @@
# Doktainer — Environment Variables
# ==========================================
/* -------------------------------- Runtime -------------------------------- */
# /* -------------------------------- Runtime -------------------------------- */
# Frontend runtime
NEXT_PUBLIC_PANEL_NAME=DOKTAINER
NEXT_PUBLIC_VERSION=v0.1.2
@@ -14,7 +14,7 @@ NEXT_PUBLIC_API_URL=http://localhost:4000/api/v1
NEXT_PUBLIC_WS_URL=ws://localhost:4000
/* --------------- Connection settings for PostgreSQL database -------------- */
# /* --------------- Connection settings for PostgreSQL database -------------- */
# Frontend server
FRONTEND_URL=http://localhost:3000
@@ -34,7 +34,7 @@ JWT_SECRET=dev-super-secret-jwt-key-change-in-production-32chars
JWT_EXPIRES_IN=7d
/* -------------------------- Reverse proxy / rate limiting ------------------------- */
# /* -------------------------- Reverse proxy / rate limiting ------------------------- */
TRUST_PROXY=false
RATE_LIMIT_MAX=300
RATE_LIMIT_TIME_WINDOW=1 minute
@@ -48,7 +48,7 @@ RATE_LIMIT_TIME_WINDOW=1 minute
# Encryption key for SSH private keys (AES-256)
ENCRYPTION_KEY=dev-32-char-encryption-key-here!
/* -------------------------- Optional integrations ------------------------- */
# /* -------------------------- Optional integrations ------------------------- */
# Optional integrations (deprecated, may be removed in future)
# CLOUDFLARE_API_TOKEN=
# CLOUDFLARE_ZONE_ID=