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:
@@ -15,31 +15,4 @@ JWT_EXPIRES_IN=24h
|
||||
|
||||
# API Rate Limiting
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
|
||||
# Target Databases Configuration (JSON format)
|
||||
# This is where your API endpoints will execute queries
|
||||
TARGET_DATABASES='[
|
||||
{
|
||||
"id": "main_postgres",
|
||||
"name": "Main PostgreSQL",
|
||||
"type": "postgresql",
|
||||
"host": "localhost",
|
||||
"port": 5432,
|
||||
"database": "your_database",
|
||||
"user": "your_user",
|
||||
"password": "your_password",
|
||||
"ssl": false
|
||||
},
|
||||
{
|
||||
"id": "analytics_db",
|
||||
"name": "Analytics Database",
|
||||
"type": "postgresql",
|
||||
"host": "localhost",
|
||||
"port": 5432,
|
||||
"database": "analytics",
|
||||
"user": "analytics_user",
|
||||
"password": "analytics_password",
|
||||
"ssl": false
|
||||
}
|
||||
]'
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
Reference in New Issue
Block a user