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:
opencode:
@@ -12,7 +12,7 @@ services:
image: ${GLOBAL_REGISTRY:-}ghcr.io/anomalyco/opencode:${OPENCODE_VERSION:-1.1.27}
command: web --hostname 0.0.0.0 --port 4096
ports:
- "${OPENCODE_PORT_OVERRIDE:-4096}:4096"
- '${OPENCODE_PORT_OVERRIDE:-4096}:4096'
volumes:
- opencode_data:/root/.opencode
- ${OPENCODE_PROJECT_DIR:-./project}:/app
@@ -29,14 +29,13 @@ services:
working_dir: /app
healthcheck:
test:
[
"CMD",
"wget",
"--quiet",
"--tries=1",
"--spider",
"http://localhost:4096/",
]
- CMD
- wget
- --quiet
- --tries=1
- --spider
- 'http://localhost:4096/'
interval: 30s
timeout: 10s
retries: 3