setup completed
This commit is contained in:
1 parent
acfbc80d1a
commit
7d3bc2a014
14 files changed
+29514
-24
No files matched your search
+31
-4
@@ -1,7 +1,34 @@
|
||||
PORT=3000
|
||||
DATABASE_PATH=./database.sqlite
|
||||
NODE_ENV=development
|
||||
FRONTEND_URL=http://localhost:5173
|
||||
# Environment Configuration Template
|
||||
# Copy to .env and adjust values for your setup
|
||||
|
||||
# ===== DOCKER MODE (services in containers) =====
|
||||
# Use these values when running in Docker Compose
|
||||
# DATABASE_HOST=postgres
|
||||
# STRAPI_URL=http://cms:1337
|
||||
|
||||
# ===== LOCAL MODE (backend locally, DB in Docker) =====
|
||||
# Use these values when running backend locally with npm run dev
|
||||
DATABASE_HOST=localhost
|
||||
STRAPI_URL=http://localhost:1337
|
||||
|
||||
# ===== COMMON CONFIGURATION =====
|
||||
NODE_ENV=development
|
||||
PORT=3000
|
||||
|
||||
# Database Configuration
|
||||
DATABASE_PORT=5432
|
||||
DATABASE_USERNAME=placebo_user
|
||||
DATABASE_PASSWORD=placebo_password
|
||||
DATABASE_NAME=placebo_backend_db
|
||||
DATABASE_SYNCHRONIZE=true
|
||||
DATABASE_LOGGING=true
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=dev-jwt-secret-change-in-production
|
||||
JWT_EXPIRATION=3600
|
||||
|
||||
# CORS Configuration
|
||||
CORS_ORIGIN=http://localhost:5173
|
||||
|
||||
# Strapi CMS Configuration
|
||||
STRAPI_API_TOKEN=your-strapi-api-token-here
|
||||
Reference in new issue
Block a user