chore: add env files to repo (private repo)
This commit is contained in:
parent
9b41fa447a
commit
ae9a7cff11
3 changed files with 30 additions and 3 deletions
14
.env
Normal file
14
.env
Normal 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
16
.env.example
Normal 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
3
.gitignore
vendored
|
|
@ -6,9 +6,6 @@ CLAUDE.md
|
|||
.swarm/
|
||||
ruvector.db
|
||||
|
||||
# Secrets
|
||||
.env
|
||||
.env.*
|
||||
|
||||
# Database files
|
||||
*.db
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue