diff --git a/.env.docker b/.env.docker index dde3982..5c0175b 100644 --- a/.env.docker +++ b/.env.docker @@ -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 diff --git a/.env.example b/.env.example index 4f07a7c..b9e58a5 100644 --- a/.env.example +++ b/.env.example @@ -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=