🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Refactor Docker commands in setup and update scripts
Bill Yangc6352c9b4212
diff --git a/docs/src/content/_meta.js b/docs/src/content/_meta.jsindex 055d2fc39..b76edb4e4 100644--- a/docs/src/content/_meta.js+++ b/docs/src/content/_meta.js@@ -12,7 +12,6 @@ export default {title: "Self-hosting",},"self-hosting": "",- "self-hosting-upgrading": "",_5: {type: "separator",title: "Settings",diff --git a/docs/src/content/self-hosting-upgrading.mdx b/docs/src/content/self-hosting-upgrading.mdxdeleted file mode 100644index 2b52feb05..000000000--- a/docs/src/content/self-hosting-upgrading.mdx+++ /dev/null@@ -1,20 +0,0 @@-import { Steps } from 'nextra/components'---# Upgrading--To upgrade your self-hosted Rybbit instance to the latest version:--<Steps>-### 1. Pull the latest changes from the repository:-```bash-git pull-```--### 2. Rebuild and restart your Docker containers:-```bash-docker compose up -d --build-```-</Steps>--We add great features to Rybbit all the time, so upgrade often to get your hands on the latest and greatest!diff --git a/docs/src/content/self-hosting.mdx b/docs/src/content/self-hosting.mdxindex 9683ded41..c4ba6694a 100644--- a/docs/src/content/self-hosting.mdx+++ b/docs/src/content/self-hosting.mdx@@ -1,7 +1,7 @@import { Steps } from 'nextra/components'import { Callout } from 'nextra/components'-# Setup+# Self Hosting GuideThis guide will walk you through setting up your own instance of Rybbit.diff --git a/setup.sh b/setup.shindex 48b55f1cc..a40cccec2 100644--- a/setup.sh+++ b/setup.sh@@ -129,10 +129,10 @@ fiecho "Building and starting Docker services..."if [ "$USE_WEBSERVER" = "false" ]; then# Start without the caddy service when using --no-webserver- docker compose up --build -d backend client clickhouse postgres+ docker compose up -d backend client clickhouse postgreselse# Start all services including caddy- docker compose up --build -d+ docker compose up -dfiecho "Setup complete. Services are starting in the background."diff --git a/update.sh b/update.shindex c3bfa93a5..dc198f22a 100644--- a/update.sh+++ b/update.sh@@ -28,10 +28,10 @@ source .envif [ "$USE_WEBSERVER" = "false" ]; then# Start without the caddy service when using --no-webserver- docker compose up --build -d backend client clickhouse postgres+ docker compose up -d backend client clickhouse postgreselse# Start all services including caddy- docker compose up --build -d+ docker compose up -dfiecho "Update complete. Services are running with the latest version."