mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-24 16:01:02 +00:00
Use official WuKongIM image sources (#4764)
This commit is contained in:
@@ -278,6 +278,15 @@ class RenovateAppVersionTests(unittest.TestCase):
|
||||
)
|
||||
)
|
||||
|
||||
def test_wukongim_uses_queryable_official_images(self):
|
||||
compose_text = (
|
||||
REPO_ROOT / "apps" / "wukongim" / "2.0.5" / "docker-compose.yml"
|
||||
).read_text(encoding="utf-8")
|
||||
|
||||
self.assertIn("wukongim/wukongim:v2.0.5-20240925", compose_text)
|
||||
self.assertIn("prom/prometheus:v2.53.1", compose_text)
|
||||
self.assertNotIn("registry.cn-shanghai.aliyuncs.com/wukongim/", compose_text)
|
||||
|
||||
def test_self_hosted_renovate_targets_this_repository(self):
|
||||
workflow = (REPO_ROOT / ".github" / "workflows" / "renovate.yml").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
wukongim: # WuKongIM服务
|
||||
container_name: ${CONTAINER_NAME}-wukongim
|
||||
image: "registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2.0.5-20240925"
|
||||
image: "wukongim/wukongim:v2.0.5-20240925"
|
||||
environment:
|
||||
- "WK_CLUSTER_NODEID=1001"
|
||||
- "WK_CLUSTER_SERVERADDR=${EXTERNAL_IP}:${PANEL_APP_PORT_COMM}" # 节点内部通信请求地址
|
||||
@@ -29,7 +29,7 @@ services:
|
||||
createdBy: "Apps"
|
||||
wukongim-prometheus: # 监控服务
|
||||
container_name: ${CONTAINER_NAME}-prometheus
|
||||
image: "registry.cn-shanghai.aliyuncs.com/wukongim/prometheus:v2.53.1"
|
||||
image: "prom/prometheus:v2.53.1"
|
||||
volumes:
|
||||
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||
ports:
|
||||
@@ -40,4 +40,4 @@ services:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user