From 8c8c2fc0a87810e6cfcf1fee739ec20b42b54325 Mon Sep 17 00:00:00 2001 From: Splines <37160523+Splines@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:35:35 +0200 Subject: [PATCH 1/2] Fix failing UserCleanerJob (#678) --- app/workers/{user_cleaner.rb => user_cleaner_job.rb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/workers/{user_cleaner.rb => user_cleaner_job.rb} (100%) diff --git a/app/workers/user_cleaner.rb b/app/workers/user_cleaner_job.rb similarity index 100% rename from app/workers/user_cleaner.rb rename to app/workers/user_cleaner_job.rb From 0d39b9e6b4f06b0b33568a6d249c83fa43607f89 Mon Sep 17 00:00:00 2001 From: Splines <37160523+Splines@users.noreply.github.com> Date: Tue, 20 Aug 2024 17:02:27 +0200 Subject: [PATCH 2/2] Add `just` commands for docker logs (#681) * Add `just` commands for docker logs * Fix `logs` command comment --- .config/commands/docker.justfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.config/commands/docker.justfile b/.config/commands/docker.justfile index 15872ed4b..4106c2897 100644 --- a/.config/commands/docker.justfile +++ b/.config/commands/docker.justfile @@ -9,6 +9,19 @@ help: cd {{justfile_directory()}}/docker/development/ docker compose up {{args}} +# Starts the dev docker containers (detached) & shows MaMpf logs +up-logs *args: + #!/usr/bin/env bash + cd {{justfile_directory()}}/docker/development/ + docker compose up -d {{args}} + docker compose logs -f mampf + +# Shows the log of the specified container +@logs name="mampf": + #!/usr/bin/env bash + cd {{justfile_directory()}}/docker/development/ + docker compose logs -f {{name}} + # Starts the dev docker containers and preseeds the database [confirm("This will reset all your data in the database locally. Continue? (y/n)")] up-reseed *args: