From e0597cc3343ddecd14ca2a74adb8435d45c682e8 Mon Sep 17 00:00:00 2001 From: Splines Date: Thu, 1 Aug 2024 23:18:42 +0200 Subject: [PATCH] Allow up-reseed to also work when container is not stopped --- .config/commands/docker.justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/commands/docker.justfile b/.config/commands/docker.justfile index ec5492394..15872ed4b 100644 --- a/.config/commands/docker.justfile +++ b/.config/commands/docker.justfile @@ -16,7 +16,7 @@ up-reseed *args: cd {{justfile_directory()}}/docker/development/ export DB_SQL_PRESEED_URL="https://github.com/MaMpf-HD/mampf-init-data/raw/main/data/20220923120841_mampf.sql" export UPLOADS_PRESEED_URL="https://github.com/MaMpf-HD/mampf-init-data/raw/main/data/uploads.zip" - docker compose up {{args}} + docker compose rm --stop --force mampf && docker compose up {{args}} # Removes the development docker containers @down: