chore: Add .gitignore and .env.example
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
33
.env.example
Normal file
33
.env.example
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Corrosion Platform — Environment Variables
|
||||||
|
# Copy to .env and fill in values
|
||||||
|
|
||||||
|
# Database
|
||||||
|
DATABASE_URL=postgres://corrosion:corrosion_dev@localhost:5432/corrosion
|
||||||
|
DATABASE_MAX_CONNECTIONS=20
|
||||||
|
DB_PASSWORD=corrosion_dev
|
||||||
|
|
||||||
|
# NATS
|
||||||
|
NATS_URL=nats://localhost:4222
|
||||||
|
|
||||||
|
# Auth
|
||||||
|
JWT_SECRET=change-me-to-a-random-64-char-string
|
||||||
|
ENCRYPTION_KEY=change-me-to-a-random-32-byte-hex-key
|
||||||
|
|
||||||
|
# Cloudflare (subdomain provisioning)
|
||||||
|
CLOUDFLARE_API_TOKEN=
|
||||||
|
CLOUDFLARE_ZONE_ID=
|
||||||
|
BASE_DOMAIN=corrosionmgmt.com
|
||||||
|
|
||||||
|
# Steam API (force wipe detection)
|
||||||
|
STEAM_API_KEY=
|
||||||
|
|
||||||
|
# Email (SMTP)
|
||||||
|
SMTP_HOST=smtp.example.com
|
||||||
|
SMTP_PORT=587
|
||||||
|
SMTP_USERNAME=
|
||||||
|
SMTP_PASSWORD=
|
||||||
|
SMTP_FROM=noreply@corrosionmgmt.com
|
||||||
|
|
||||||
|
# Server
|
||||||
|
API_PORT=3000
|
||||||
|
FRONTEND_URL=http://localhost:5174
|
||||||
33
.gitignore
vendored
Normal file
33
.gitignore
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Environment
|
||||||
|
.env
|
||||||
|
.env.local
|
||||||
|
|
||||||
|
# Rust
|
||||||
|
backend/target/
|
||||||
|
**/*.rs.bk
|
||||||
|
|
||||||
|
# Node / Frontend
|
||||||
|
frontend/node_modules/
|
||||||
|
frontend/dist/
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
|
|
||||||
|
# OS
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Docker volumes (local dev)
|
||||||
|
docker/pg_data/
|
||||||
|
docker/nats_data/
|
||||||
|
|
||||||
|
# Maps and backups (runtime data)
|
||||||
|
maps/
|
||||||
|
backups/
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
*.log
|
||||||
Reference in New Issue
Block a user