Added Postgres backend and SQLx.

This commit is contained in:
2026-09-19 22:13:38 +02:00
parent 04ebc95920
commit 15b8ae8f62
17 changed files with 1545 additions and 49 deletions
+3 -8
View File
@@ -1,13 +1,8 @@
FROM rust:bookworm
RUN cargo install cargo-watch --locked
RUN cargo install cargo-watch --locked \
&& cargo install sqlx-cli --version 0.8.6 --locked --no-default-features --features postgres,rustls
WORKDIR /app
CMD [
"cargo", "watch",
"--watch", "src",
"--watch", "Cargo.toml",
"--watch", "Cargo.lock",
"--exec", "run --locked"
]
CMD ["cargo", "watch", "--watch", "src", "--watch", "Cargo.toml", "--watch", "Cargo.lock", "--exec", "run --locked"]