feat: add production-ready configuration with environment-specific settings

Implement production deployment configuration including environment variable validation, logging setup, and error handling middleware. Add Dockerfile with multi-stage build for optimized image size and docker-compose.yml for orchestration. Configure health check endpoints and graceful shutdown procedures.
This commit is contained in:
2024-12-05 07:18:01 +00:00
parent 22858c5fd7
commit b20ff08b70
14 changed files with 155 additions and 60 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ serve: ensure_env
$(BIN)mololog.serve --host=0.0.0.0 --port=3016 --db=mololog.db
test: ensure_env
$(BIN)mololog.test --url=http://localhost:3016
$(PYTHON) test.py
bench: ensure_env
$(BIN)mololog.bench --url=http://localhost:3016