🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update restart.sh and update.sh to use --force-recreate flag for Docker services
Bill Yang363b39bd5652
diff --git a/restart.sh b/restart.shindex e1c78f49f..69bff0852 100644--- a/restart.sh+++ b/restart.sh@@ -21,10 +21,10 @@ source .env# Start the appropriate services with updated environment variablesif [ "$USE_WEBSERVER" = "false" ]; then# Start without the caddy service when using --no-webserver- docker compose up -d backend client clickhouse postgres+ docker compose up -d backend client clickhouse postgres --force-recreateelse# Start all services including caddy- docker compose up -d+ docker compose up -d --force-recreatefiecho "Services restarted. You can monitor logs with: docker compose logs -f"\ No newline at end of filediff --git a/update.sh b/update.shindex 16810d9d1..d6f2d9385 100644--- a/update.sh+++ b/update.sh@@ -36,10 +36,10 @@ source .envif [ "$USE_WEBSERVER" = "false" ]; then# Start without the caddy service when using --no-webserver- docker compose up -d backend client clickhouse postgres+ docker compose up -d backend client clickhouse postgres --force-recreateelse# Start all services including caddy- docker compose up -d+ docker compose up -d --force-recreatefiecho "Update complete. Services are running with the latest version."