2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-03 23:47:14 +08:00

feat: 格式化代码

This commit is contained in:
2026-01-31 02:59:45 +08:00
parent 58ddb4f512
commit 5bdb295d5a
44 changed files with 132 additions and 52 deletions

View File

@@ -23,7 +23,7 @@ services:
- ./data/work:/opt/adguardhome/work
- ./data/conf:/opt/adguardhome/conf
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:3000 || exit 1"]
test: [ "CMD-SHELL", "wget -qO- http://localhost:3000 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -10,7 +10,7 @@ services:
- ${CERTD_PORT_HTTP}:7001
- ${CERTD_PORT_HTTPS}:7002
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:7001 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:7001 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -10,7 +10,7 @@ services:
- /etc/timezone:/etc/timezone:ro
- ./data:/app/pb_data
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8090 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8090 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -9,7 +9,7 @@ services:
ports:
- ${DNSMGR_PORT_HTTP}:80
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -23,7 +23,7 @@ services:
- xpack.security.enabled=${ELASTICSEARCH_SECURITY}
- ${ELASTICSEARCH_JAVA_OPTS}
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:9200/_cluster/health || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:9200/_cluster/health || exit 1" ]
interval: 30s
timeout: 10s
retries: 5

View File

@@ -7,7 +7,7 @@ services:
- ./config:/config
- ./data:/data/
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:8080/health || exit 1"]
test: [ "CMD-SHELL", "wget -qO- http://localhost:8080/health || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -17,7 +17,7 @@ services:
- "./data/data:/var/opt/gitlab"
shm_size: ${GITLAB_SHM_SIZE}
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:80/-/health || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:80/-/health || exit 1" ]
interval: 60s
timeout: 30s
retries: 5

View File

@@ -10,7 +10,7 @@ services:
volumes:
- ./data:/var/lib/grafana
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:3000/api/health || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:3000/api/health || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -9,7 +9,7 @@ services:
volumes:
- ./data:/root/.halo2
environment:
- JVM_OPTS=
- JVM_OPTS=
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness" ]
interval: 30s

View File

@@ -12,7 +12,7 @@ services:
environment:
- TZ=${HOME_ASSISTANT_TIME_ZONE}
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8123 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8123 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -11,7 +11,7 @@ services:
volumes:
- ./data:/koishi
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:5140 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:5140 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -12,7 +12,7 @@ services:
- ACCESS_CODE=${ACCESS_CODE}
- OPENAI_MODEL_LIST=${OPENAI_MODEL_LIST}
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:3210 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:3210 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -11,7 +11,7 @@ services:
environment:
- "WEB_PORT=8089"
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8089 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8089 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -15,7 +15,7 @@ services:
environment:
MYSQL_ROOT_PASSWORD: ${MARIADB_DB_ROOT_PASSWORD}
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
start_period: 20s
interval: 30s
retries: 5

46
meilisearch/data.yml Normal file
View File

@@ -0,0 +1,46 @@
name:
en: Meilisearch
zh_CN: Meilisearch
zh_TW: Meilisearch
categories:
- tool
description:
en: A lightning-fast search engine that fits effortlessly into your apps
zh_CN: 一个闪电般快速的搜索引擎,可轻松集成到您的应用中
zh_TW: 一個閃電般快速的搜尋引擎,可輕鬆整合到您的應用程式中
website: https://www.meilisearch.com
architectures:
- amd64
- arm64
environments:
MEILI_MASTER_KEY:
description:
en: Master Key (required for production)
zh_CN: 主密钥(生产环境必需)
zh_TW: 主密鑰(生產環境必需)
type: password
default:
MEILI_ENV:
description:
en: Environment
zh_CN: 运行环境
zh_TW: 執行環境
type: select
default: production
options:
"Production": "production"
"Development": "development"
MEILI_PORT:
description:
en: HTTP Port
zh_CN: HTTP 端口
zh_TW: HTTP 埠
type: port
default: 7700
MEILI_MAX_INDEXING_MEMORY:
description:
en: Maximum Indexing Memory
zh_CN: 最大索引内存
zh_TW: 最大索引記憶體
type: text
default: 2Gb

View File

@@ -0,0 +1,24 @@
services:
meilisearch:
image: getmeili/meilisearch:v1.34.3
restart: unless-stopped
networks:
- acepanel-network
ports:
- ${MEILI_PORT}:7700
volumes:
- ./data:/meili_data
environment:
- MEILI_NO_ANALYTICS=true
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
- MEILI_ENV=${MEILI_ENV}
- MEILI_HTTP_ADDR=0.0.0.0:7700
- MEILI_MAX_INDEXING_MEMORY=${MEILI_MAX_INDEXING_MEMORY}
healthcheck:
test: [ "CMD-SHELL", "curl -fsSL http://localhost:7700/health || exit 1" ]
interval: 30s
timeout: 10s
retries: 5
networks:
acepanel-network:
external: true

View File

@@ -22,7 +22,7 @@ services:
- REDIS_DB=0
- GIN_MODE=release
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8080 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8080 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -12,7 +12,7 @@ services:
volumes:
- ./data:/var/opt/mssql/data
healthcheck:
test: ["CMD", "/opt/mssql-tools18/bin/sqlcmd", "-S", "localhost", "-U", "sa", "-P", "${MSSQL_SA_PASSWORD}", "-Q", "SELECT 1", "-C"]
test: [ "CMD", "/opt/mssql-tools18/bin/sqlcmd", "-S", "localhost", "-U", "sa", "-P", "${MSSQL_SA_PASSWORD}", "-Q", "SELECT 1", "-C" ]
interval: 30s
timeout: 10s
retries: 5

View File

@@ -15,7 +15,7 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-p${PERCONA_ROOT_PASSWORD}"]
test: [ "CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-p${PERCONA_ROOT_PASSWORD}" ]
start_period: 20s
interval: 30s
retries: 5

View File

@@ -23,7 +23,7 @@ services:
- "${NACOS_PORT_API_HTTP}:8848"
- "${NACOS_PORT_COMMUNICATION}:9848"
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8848/nacos/v1/console/health/readiness || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8848/nacos/v1/console/health/readiness || exit 1" ]
interval: 30s
timeout: 10s
retries: 5

View File

@@ -15,7 +15,7 @@ services:
- ERROR_LOG_ENABLED=true
- MEMORY_CACHE_ENABLED=true
healthcheck:
test: ["CMD-SHELL", "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' || exit 1"]
test: [ "CMD-SHELL", "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -14,7 +14,7 @@ services:
- PGID=1000
- TZ=${NEXTCLOUD_TIME_ZONE}
healthcheck:
test: ["CMD-SHELL", "curl -fsSL https://localhost:443 -k || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL https://localhost:443 -k || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -9,7 +9,7 @@ services:
volumes:
- ./data:/dashboard/data
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8008 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8008 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -10,7 +10,7 @@ services:
- ./conf.d:/etc/nginx/conf.d
- ./certs:/etc/nginx/certs
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -10,7 +10,7 @@ services:
volumes:
- ./data:/root/.ollama
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:11434 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:11434 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -14,7 +14,7 @@ services:
- TZ=${OPENLIST_TIME_ZONE}
- UMASK=022
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:5244 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:5244 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -12,7 +12,7 @@ services:
- ./sites:/var/www/vhosts
- ./logs:/usr/local/lsws/logs
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -15,7 +15,7 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-p${PERCONA_ROOT_PASSWORD}"]
test: [ "CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-p${PERCONA_ROOT_PASSWORD}" ]
start_period: 20s
interval: 30s
retries: 5

View File

@@ -12,7 +12,7 @@ services:
volumes:
- ./data:/var/lib/pgadmin
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:80/misc/ping || exit 1"]
test: [ "CMD-SHELL", "wget -qO- http://localhost:80/misc/ping || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -8,7 +8,7 @@ services:
- HIDE_PHP_VERSION=true
- PMA_ARBITRARY=1
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -10,7 +10,7 @@ services:
volumes:
- ./data:/var/lib/postgresql
healthcheck:
test: ["CMD", "pg_isready", "-h", "127.0.0.1", "-p", "5432", "-q", "-U", "${POSTGRESQL_DB_ROOT_USER}"]
test: [ "CMD", "pg_isready", "-h", "127.0.0.1", "-p", "5432", "-q", "-U", "${POSTGRESQL_DB_ROOT_USER}" ]
start_period: 20s
interval: 30s
retries: 5

View File

@@ -16,7 +16,7 @@ services:
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.retention.time=200h'
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:9090/-/healthy || exit 1"]
test: [ "CMD-SHELL", "wget -qO- http://localhost:9090/-/healthy || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -8,7 +8,7 @@ services:
ports:
- "${QINGLONG_PORT_HTTP}:5700"
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:5700 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:5700 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,16 +4,16 @@ services:
hostname: rabbitmq
restart: unless-stopped
ports:
- ${RABBITMQ_PORT_SERVICE}:5672
- ${RABBITMQ_PORT_HTTP}:15672
- ${RABBITMQ_PORT_SERVICE}:5672
- ${RABBITMQ_PORT_HTTP}:15672
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
volumes:
- ./data/:/var/lib/rabbitmq/
- ./log/:/var/log/rabbitmq
- ./data/:/var/lib/rabbitmq/
- ./log/:/var/log/rabbitmq
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
test: [ "CMD", "rabbitmq-diagnostics", "-q", "ping" ]
interval: 30s
timeout: 10s
retries: 5

View File

@@ -12,7 +12,7 @@ services:
- ./conf/redis.conf:/etc/redis/redis.conf
- ./logs:/logs
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test: [ "CMD", "redis-cli", "ping" ]
interval: 10s
timeout: 5s
retries: 5

View File

@@ -7,14 +7,24 @@
"platformAutomerge": true,
"packageRules": [
{
"matchDatasources": ["docker"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"automerge": true,
"groupName": "docker images (minor/patch/digest)"
},
{
"matchDatasources": ["docker"],
"matchUpdateTypes": ["major"],
"matchDatasources": [
"docker"
],
"matchUpdateTypes": [
"major"
],
"automerge": false,
"groupName": "docker images (major)"
}

View File

@@ -9,7 +9,7 @@ services:
- ./data/namesrv/logs:/home/rocketmq/logs
command: sh mqnamesrv
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 9876 || exit 1"]
test: [ "CMD-SHELL", "nc -z localhost 9876 || exit 1" ]
interval: 30s
timeout: 10s
retries: 5
@@ -32,7 +32,7 @@ services:
- ./data/broker/conf/broker.conf:/opt/rocketmq-5.2.0/conf/broker.conf
command: sh mqbroker -c /opt/rocketmq-5.2.0/conf/broker.conf
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 10911 || exit 1"]
test: [ "CMD-SHELL", "nc -z localhost 10911 || exit 1" ]
interval: 30s
timeout: 10s
retries: 5
@@ -57,7 +57,7 @@ services:
- ./data/proxy/conf/rmq-proxy.json:/opt/rocketmq-5.2.0/conf/rmq-proxy.json
command: sh mqproxy -pc /opt/rocketmq-5.2.0/conf/rmq-proxy.json
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 8080 || exit 1"]
test: [ "CMD-SHELL", "nc -z localhost 8080 || exit 1" ]
interval: 30s
timeout: 10s
retries: 5
@@ -76,7 +76,7 @@ services:
environment:
- JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8082 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8082 || exit 1" ]
interval: 30s
timeout: 10s
retries: 5

View File

@@ -17,7 +17,7 @@ services:
- "RELAY=${HOST_ADDRESS}:${RUSTDESK_PORT_HBBR}"
- "ENCRYPTED_ONLY=1"
healthcheck:
test: ["CMD-SHELL", "nc -z localhost 21116 || exit 1"]
test: [ "CMD-SHELL", "nc -z localhost 21116 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -12,7 +12,7 @@ services:
volumes:
- ./data:/data
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:9001 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:9001 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -11,7 +11,7 @@ services:
entrypoint: |
bash -c 'cp -a webapps.dist/manager webapps/; exec catalina.sh run'
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8080 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8080 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -9,7 +9,7 @@ services:
DATABASE_URL: ${UMAMI_DB_TYPE}://${UMAMI_DB_USER}:${UMAMI_DB_USER_PASSWORD}@${UMAMI_DB_HOST}:${UMAMI_DB_PORT}/${UMAMI_DB_NAME}
APP_SECRET: ${HASH_SALT}
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:3000 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:3000 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -9,7 +9,7 @@ services:
ports:
- ${UPTIME_KUMA_PORT_HTTP}:3001
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:3001 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:3001 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -9,7 +9,7 @@ services:
volumes:
- ./data:/data
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1" ]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -21,7 +21,7 @@ services:
volumes:
- ./data:/storage
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:8006 || exit 1"]
test: [ "CMD-SHELL", "curl -fsSL http://localhost:8006 || exit 1" ]
interval: 60s
timeout: 30s
retries: 5