# Git Commit Message
refactor: add production features and improve architecture - Add structured configuration with validation - Implement Redis connection pooling - Add database migrations system - Change API methods: GET /set → POST /set, GET /delete → DELETE /delete - Add health check endpoint - Add graceful shutdown and structured logging - Update frontend for new API methods - Add open source attribution
This commit is contained in:
parent
ad6c9b7095
commit
6bfd298455
21 changed files with 842 additions and 3124 deletions
|
@ -15,6 +15,12 @@ services:
|
|||
condition: service_started
|
||||
networks:
|
||||
- timezoneDB-network
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://${HOST:-localhost}:${PORT:-3000}/health"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
postgres:
|
||||
image: postgres:16
|
||||
|
@ -23,6 +29,7 @@ services:
|
|||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: postgres
|
||||
PGUSER: postgres
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
||||
networks:
|
||||
|
@ -45,4 +52,4 @@ services:
|
|||
|
||||
networks:
|
||||
timezoneDB-network:
|
||||
driver: bridge
|
||||
driver: bridge
|
Loading…
Add table
Add a link
Reference in a new issue