version: "1"
config:
http:
base_url: http://localhost:3000
headers:
Accept: application/json
postgres:
dsn: postgres://postgres:password@localhost:5433/postgres
redis:
addr: localhost:6379
vars:
region: us-east-1
environment: dev
validate:
- name: API_URL
required: true
profiles:
staging:
config:
http:
base_url: https://staging.example.com
postgres:
dsn: postgres://deploy:pass@staging-db:5432/stagingdb
production:
config:
http:
base_url: https://api.example.com
presets:
auth-test:
config:
vars:
test_user: qa@example.com
test_pass: "{{ TEST_PASSWORD }}"