Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix: use v2 (no minor or patch) for self-hosting

Carl-Gerhard Lindesvärd64bcd5c155f2
diff --git a/self-hosting/docker-compose.template.yml b/self-hosting/docker-compose.template.yml
index 94dbcfcb2..dec63c02f 100644
--- a/self-hosting/docker-compose.template.yml
+++ b/self-hosting/docker-compose.template.yml
@@ -91,7 +91,7 @@ services:
max-file: "3"
op-api:
- image: lindesvard/openpanel-api:2.0.1-rc
+ image: lindesvard/openpanel-api:2
restart: always
command: >
sh -c "
@@ -121,7 +121,7 @@ services:
max-file: "3"
op-dashboard:
- image: lindesvard/openpanel-dashboard:2.0.1-rc
+ image: lindesvard/openpanel-dashboard:2
restart: always
depends_on:
op-api:
@@ -141,7 +141,7 @@ services:
max-file: "3"
op-worker:
- image: lindesvard/openpanel-worker:2.0.1-rc
+ image: lindesvard/openpanel-worker:2
restart: always
depends_on:
op-api:
diff --git a/self-hosting/update b/self-hosting/update
index af21ba433..f872dce4f 100755
--- a/self-hosting/update
+++ b/self-hosting/update
@@ -2,10 +2,7 @@
git pull
-echo "Pulling latest docker images"
-docker compose pull
-
-echo "Restarting services"
-docker compose up -d --remove-orphans
+echo "Updating services"
+docker compose up -d --pull always --remove-orphans
echo "Done"