Environments
Quản lý môi trường Development / Staging / Sandbox / Production cho toàn bộ Daisan API.
Production
https://api.daisan.vn
12
Services
38
API Keys
2,284,902
Req/24h
0.62%
Error rate
Last deploy2026-06-19 23:42
Regionap-southeast-1
Config vars42
Staging
https://staging-api.daisan.vn
12
Services
14
API Keys
42,100
Req/24h
1.84%
Error rate
Last deploy2026-06-20 08:12
Regionap-southeast-1
Config vars42
Sandbox
https://sandbox-api.daisan.vn
12
Services
8
API Keys
8,420
Req/24h
2.31%
Error rate
Last deploy2026-06-18 16:30
Regionap-southeast-1
Config vars42
Development
https://dev-api.daisan.vn
12
Services
22
API Keys
1,820
Req/24h
5.42%
Error rate
Last deploy2026-06-20 10:14
Regionap-southeast-1
Config vars42
Promotion pipeline
Workflow promote từ Development → Production. Mọi promote phải qua CI + approval.
Development
develop
Staging
release/*
Sandbox
sandbox
Production
main
Auto deploy
Dev, Staging
Manual approval
Sandbox, Production
Required reviewers
2 (Platform team)
Configuration variables
So sánh biến môi trường giữa 4 environments. Secret được mã hoá KMS, chỉ Super Admin có thể xem.
| Key | Development | Staging | Sandbox | Production |
|---|---|---|---|---|
ODOO_BASE_URL | https://odoo.dev.daisan.vn | https://odoo.stg.daisan.vn | https://odoo.sbx.daisan.vn | https://erp.daisan.vn |
ODOO_API_TOKEN | •••••••• | •••••••• | •••••••• | •••••••• |
ELASTICSEARCH_URL | https://es-dev.daisan.internal:9200 | https://es-stg.daisan.internal:9200 | https://es-sbx.daisan.internal:9200 | https://es.daisan.internal:9200 |
VNPAY_MERCHANT_ID | DSN_TEST_001 | DSN_TEST_001 | DSN_SBX_002 | DSN_LIVE_001 |
VNPAY_SECRET_KEY | •••••••• | •••••••• | •••••••• | •••••••• |
ZALO_OA_ACCESS_TOKEN | •••••••• | •••••••• | •••••••• | •••••••• |
APIFY_TOKEN | •••••••• | •••••••• | •••••••• | •••••••• |
OPENAI_API_KEY | •••••••• | •••••••• | •••••••• | •••••••• |
RATE_LIMIT_RPM | 1000 | 1000 | 500 | 120 |
LOG_LEVEL | debug | info | info | warn |
Recent deployments
Lịch sử deploy gần nhất trên tất cả environments.
| Deployment | Environment | Service | Version | Triggered by | When | Status | |
|---|---|---|---|---|---|---|---|
| dep_8821 | Production | product-api | v2.4.1 | le.minh@daisan.vn | 12 phút trước | Success | |
| dep_8820 | Staging | search-api | v3.1.0-rc.2 | nguyen.hoa@daisan.vn | 45 phút trước | Success | |
| dep_8819 | Production | payment-api | v1.7.3 | tran.duc@daisan.vn | 2 giờ trước | Success | |
| dep_8818 | Sandbox | ai-chat-api | v0.9.4 | pham.linh@daisan.vn | 3 giờ trước | Failed | |
| dep_8817 | Staging | odoo-sync | v2.0.0 | ci-bot | 5 giờ trước | Success | |
| dep_8816 | Production | shipping-api | v1.4.2 | le.minh@daisan.vn | Hôm qua, 16:42 | Rolled back |