Commit Graph
5 Commits
Author SHA1 Message Date
Li Yi 9cea7f9314 chore: polish code with little update (#182)
- Run Docker container as non-root user (appuser) to minimize security risks
- Add Docker HEALTHCHECK for better container orchestration
- Make CORS configurable via ALLOWED_ORIGINS env var with security warning
- Replace assertions with proper error handling (TypeError/ValueError)
- Add 30s timeout to HTTP requests to prevent hanging connections
- Disable auto-reload in production uvicorn settings
2025-10-11 14:49:18 +08:00
Aiden Dai f21b9a2e84 apply ruff linter 2025-03-13 13:50:57 +08:00
Aiden Dai c39f6bc942 Use secrets manager for api key 2025-02-10 15:25:12 +08:00
Hans Knecht 241d5c0f3e feat: allow the use of an ENV variable to set the API key if the ParameterStore isn't used. (#40) 2024-12-06 14:32:06 +08:00
Aiden Dai f974cb2728 Initial commit 2024-03-27 15:20:24 +08:00