Track config files for CI/CD deployment
Config files were previously gitignored, causing CI/CD pipeline to fail because Docker would create directories instead of mounting the expected files. - Remove config/** from .gitignore - Track all config files (secrets still ignored) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
79
config/app/ci.yml
Executable file
79
config/app/ci.yml
Executable file
@@ -0,0 +1,79 @@
|
||||
# CI-specific configuration for backend tests. Mirrors production schema with safe defaults.
|
||||
server:
|
||||
name: mvp-backend-ci
|
||||
port: 3001
|
||||
environment: test
|
||||
node_env: test
|
||||
|
||||
database:
|
||||
host: mvp-postgres
|
||||
port: 5432
|
||||
name: motovaultpro
|
||||
user: postgres
|
||||
|
||||
redis:
|
||||
host: mvp-redis
|
||||
port: 6379
|
||||
db: 0
|
||||
|
||||
platform:
|
||||
services:
|
||||
vehicles:
|
||||
url: http://mvp-platform-vehicles-api:8000
|
||||
timeout: 5s
|
||||
|
||||
external:
|
||||
vpic:
|
||||
url: https://vpic.nhtsa.dot.gov/api/vehicles
|
||||
timeout: 10s
|
||||
|
||||
service:
|
||||
name: mvp-backend
|
||||
|
||||
cors:
|
||||
origins:
|
||||
- http://localhost
|
||||
allow_credentials: false
|
||||
max_age: 0
|
||||
|
||||
frontend:
|
||||
api_base_url: /api
|
||||
auth0:
|
||||
domain: motovaultpro.us.auth0.com
|
||||
audience: https://api.motovaultpro.com
|
||||
|
||||
health:
|
||||
endpoints:
|
||||
basic: /health
|
||||
ready: /health/ready
|
||||
live: /health/live
|
||||
startup: /health/startup
|
||||
probes:
|
||||
startup:
|
||||
initial_delay: 1s
|
||||
period: 1s
|
||||
timeout: 1s
|
||||
failure_threshold: 3
|
||||
readiness:
|
||||
period: 1s
|
||||
timeout: 1s
|
||||
failure_threshold: 3
|
||||
liveness:
|
||||
period: 1s
|
||||
timeout: 1s
|
||||
failure_threshold: 3
|
||||
|
||||
logging:
|
||||
level: debug
|
||||
format: json
|
||||
destinations:
|
||||
- console
|
||||
|
||||
performance:
|
||||
request_timeout: 30s
|
||||
max_request_size: 10MB
|
||||
compression_enabled: false
|
||||
circuit_breaker:
|
||||
enabled: false
|
||||
failure_threshold: 5
|
||||
timeout: 5s
|
||||
Reference in New Issue
Block a user