chore: add env files to repo (private repo)
Some checks are pending
CI / Type Check (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Unit Tests (push) Waiting to run
Deploy / Build & Push Image (push) Waiting to run
Deploy / Deploy to VPS (push) Blocked by required conditions

This commit is contained in:
Vadym Samoilenko 2026-05-09 19:21:24 +01:00
parent 9b41fa447a
commit ae9a7cff11
3 changed files with 30 additions and 3 deletions

14
.env Normal file
View file

@ -0,0 +1,14 @@
# ─── Database ────────────────────────────────────────────────────────────────
# PostgreSQL connection string (required)
DATABASE_URL=postgresql://shumiland:shumiland@localhost:5432/shumiland
# ─── Payload CMS ─────────────────────────────────────────────────────────────
# Secret used to sign JWTs and encrypt data (required, min 32 chars)
PAYLOAD_SECRET=change-me-to-a-random-32-char-string
# ─── Next.js ─────────────────────────────────────────────────────────────────
# Public server URL (used by Payload for absolute URLs in admin & API)
NEXT_PUBLIC_SERVER_URL=http://localhost:3000
# ─── Node ─────────────────────────────────────────────────────────────────────
NODE_ENV=development

16
.env.example Normal file
View file

@ -0,0 +1,16 @@
# ─── Database ────────────────────────────────────────────────────────────────
# PostgreSQL connection string (required)
DATABASE_URL=postgresql://shumiland:shumiland@localhost:5432/shumiland
# ─── Payload CMS ─────────────────────────────────────────────────────────────
# Secret used to sign JWTs and encrypt data (required, min 32 chars)
PAYLOAD_SECRET=change-me-to-a-random-32-char-string
# ─── Next.js ─────────────────────────────────────────────────────────────────
# Public server URL (used by Payload for absolute URLs in admin & API)
NEXT_PUBLIC_SITE_URL=http://localhost:3000
# ─── Node ─────────────────────────────────────────────────────────────────────
NODE_ENV=development
REVALIDATE_SECRET=

3
.gitignore vendored
View file

@ -6,9 +6,6 @@ CLAUDE.md
.swarm/
ruvector.db
# Secrets
.env
.env.*
# Database files
*.db