diff --git a/.gitignore b/.gitignore index 00258e7..d264389 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,6 @@ target/ *.pdb *.sqlite -.direnv/ \ No newline at end of file +.direnv/ +*.sqlite-shm +*.sqlite-wal diff --git a/Cargo.lock b/Cargo.lock index bd0ab52..4eb15dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1080,6 +1080,31 @@ dependencies = [ "typenum", ] +[[package]] +name = "daily_aujourdhui" +version = "0.1.0" +dependencies = [ + "async-trait", + "axum", + "chrono", + "fluent-templates", + "include_dir", + "insta", + "loco-rs", + "migration", + "rstest", + "sea-orm", + "serde", + "serde_json", + "serial_test", + "tokio", + "tracing", + "tracing-subscriber", + "unic-langid", + "uuid", + "validator", +] + [[package]] name = "darling" version = "0.20.10" @@ -2342,31 +2367,6 @@ dependencies = [ "validator", ] -[[package]] -name = "loco_starter_template" -version = "0.1.0" -dependencies = [ - "async-trait", - "axum", - "chrono", - "fluent-templates", - "include_dir", - "insta", - "loco-rs", - "migration", - "rstest", - "sea-orm", - "serde", - "serde_json", - "serial_test", - "tokio", - "tracing", - "tracing-subscriber", - "unic-langid", - "uuid", - "validator", -] - [[package]] name = "log" version = "0.4.22" diff --git a/docker/compose.dev.yml b/docker/compose.dev.yml new file mode 100644 index 0000000..4c10706 --- /dev/null +++ b/docker/compose.dev.yml @@ -0,0 +1,18 @@ +services: + mailpit: + image: axllent/mailpit:latest + restart: unless-stopped + container_name: tal-backend-mailpit + ports: + - 127.0.0.1:8025:8025 # WebUI + - 127.0.0.1:1025:1025 # SMTP + volumes: + - daily_aujourdhui_mailpit:/data + environment: + MP_MAX_MESSAGES: 5000 + MP_DATABASE: /data/mailpit.db + MP_SMTP_AUTH_ACCEPT_ANY: 1 + MP_SMTP_AUTH_ALLOW_INSECURE: 1 + +volumes: + daily_aujourdhui_mailpit: diff --git a/flake.nix b/flake.nix index 63f0356..4c3a1a6 100644 --- a/flake.nix +++ b/flake.nix @@ -60,6 +60,7 @@ rustVersion sea-orm-cli vscode-langservers-extracted + yaml-language-server ]; }; });