new file: .dockerignore
new file: .env.example new file: Dockerfile modified: backend/.env.example modified: backend/package.json renamed: backend/src/migrations/run.ts -> backend/src/scripts/run.ts renamed: backend/src/migrations/seed.ts -> backend/src/scripts/seed.ts new file: docker-compose.external-db.yml new file: docker-compose.yml
This commit is contained in:
29
.env.example
Normal file
29
.env.example
Normal file
@@ -0,0 +1,29 @@
|
||||
# ============================================
|
||||
# KIS API Builder - Configuration
|
||||
# ============================================
|
||||
# Copy this file to .env and adjust values
|
||||
#
|
||||
# For default setup (built-in DB):
|
||||
# Only APP_PORT, DB_PASSWORD and JWT_SECRET are needed
|
||||
#
|
||||
# For external database:
|
||||
# Set all DB_* variables
|
||||
# ============================================
|
||||
|
||||
# External port (access from host machine)
|
||||
APP_PORT=3000
|
||||
|
||||
# Database password (used by both built-in and external DB)
|
||||
DB_PASSWORD=your_secure_password_here
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
||||
JWT_EXPIRES_IN=24h
|
||||
|
||||
# ============================================
|
||||
# External Database (only for docker-compose.external-db.yml)
|
||||
# ============================================
|
||||
# DB_HOST=your-postgres-host
|
||||
# DB_PORT=5432
|
||||
# DB_NAME=api_builder
|
||||
# DB_USER=postgres
|
||||
Reference in New Issue
Block a user