style: lint code

This commit is contained in:
Sun-ZhenXing
2026-02-23 17:41:05 +08:00
parent ced072de66
commit 7e14b01b78
240 changed files with 4301 additions and 1539 deletions

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
clickhouse:
@@ -24,10 +24,10 @@ services:
# - ./config.xml:/etc/clickhouse-server/config.d/config.xml
# - ./users.xml:/etc/clickhouse-server/users.d/users.xml
ports:
- "${CLICKHOUSE_HTTP_PORT_OVERRIDE:-8123}:8123"
- "${CLICKHOUSE_NATIVE_PORT_OVERRIDE:-9000}:9000"
- "${CLICKHOUSE_MYSQL_PORT_OVERRIDE:-9004}:9004"
- "${CLICKHOUSE_POSTGRES_PORT_OVERRIDE:-9005}:9005"
- '${CLICKHOUSE_HTTP_PORT_OVERRIDE:-8123}:8123'
- '${CLICKHOUSE_NATIVE_PORT_OVERRIDE:-9000}:9000'
- '${CLICKHOUSE_MYSQL_PORT_OVERRIDE:-9004}:9004'
- '${CLICKHOUSE_POSTGRES_PORT_OVERRIDE:-9005}:9005'
ulimits:
nofile:
soft: 262144
@@ -42,10 +42,9 @@ services:
memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G}
healthcheck:
test:
[
"CMD-SHELL",
"wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1",
]
- CMD-SHELL
- 'wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1'
interval: 30s
timeout: 10s
retries: 3