# 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
|
@ -5,6 +5,7 @@ WORKDIR /app
|
|||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY src ./src
|
||||
COPY public ./public
|
||||
COPY migrations ./migrations
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
|
@ -16,7 +17,6 @@ WORKDIR /app
|
|||
|
||||
COPY --from=builder /app/target/release/timezone-db /usr/local/bin/app
|
||||
COPY --from=builder /app/public ./public
|
||||
|
||||
ENV RUST_LOG=info
|
||||
COPY --from=builder /app/migrations ./migrations
|
||||
|
||||
CMD ["/usr/local/bin/app"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue