fix(openpanel): pin verified 2.2.1 images and fix ClickHouse interserver host

- Pin lindesvard/openpanel-api|dashboard|worker to 2.2.1 (verified working
  end-to-end on a Dokploy instance) instead of the mutable :2 tag, so a
  future broken 2.x release cannot silently break the template again —
  which is how #615 originated when 2.0.0 shipped.
- Fix interserver_http_host to match the actual service name (op-ch),
  aligning with upstream self-hosting config.
- Set meta.json version to the pinned 2.2.1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Mauricio Siu
2026-07-14 11:53:37 -06:00
parent 17efd705a4
commit f946051a6c
3 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ services:
retries: 5
op-api:
image: lindesvard/openpanel-api:2
image: lindesvard/openpanel-api:2.2.1
restart: always
command: >
sh -c "
@@ -97,7 +97,7 @@ services:
condition: service_healthy
op-dashboard:
image: lindesvard/openpanel-dashboard:2
image: lindesvard/openpanel-dashboard:2.2.1
restart: always
depends_on:
op-api:
@@ -111,7 +111,7 @@ services:
retries: 5
op-worker:
image: lindesvard/openpanel-worker:2
image: lindesvard/openpanel-worker:2.2.1
restart: always
depends_on:
op-api:

View File

@@ -1,7 +1,7 @@
{
"id": "openpanel",
"name": "OpenPanel",
"version": "latest",
"version": "2.2.1",
"description": "An open-source web and product analytics platform that combines the power of Mixpanel with the ease of Plausible and one of the best Google Analytics replacements.",
"logo": "logo.svg",
"links": {

View File

@@ -26,7 +26,7 @@ content = """
<part_log remove="remove"/>
<listen_host>0.0.0.0</listen_host>
<interserver_listen_host>0.0.0.0</interserver_listen_host>
<interserver_http_host>opch</interserver_http_host>
<interserver_http_host>op-ch</interserver_http_host>
<!-- Disable cgroup memory observer -->
<cgroups_memory_usage_observer_wait_time>0</cgroups_memory_usage_observer_wait_time>
<!-- Not used anymore, but kept for backwards compatibility -->