Migrated to native Rust and containerized Postgres.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
/target
|
||||
.git
|
||||
.env
|
||||
.vscode
|
||||
.DS_Store
|
||||
@@ -0,0 +1,4 @@
|
||||
RUST_LOG=info
|
||||
HOST=127.0.0.1
|
||||
PORT=3000
|
||||
DATABASE_URL=postgres://expenses:expenses@localhost:5432/expenses
|
||||
@@ -1,8 +0,0 @@
|
||||
FROM rust:bookworm
|
||||
|
||||
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"]
|
||||
Reference in New Issue
Block a user