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

@@ -12,21 +12,21 @@ x-defaults: &defaults
driver: json-file
options:
max-size: ${TRAILBASE_LOG_MAX_SIZE:-100m}
max-file: "${TRAILBASE_LOG_MAX_FILE:-3}"
max-file: '${TRAILBASE_LOG_MAX_FILE:-3}'
services:
trailbase:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}trailbase/trailbase:${TRAILBASE_VERSION:-0.22.4}
ports:
- "${TRAILBASE_PORT_OVERRIDE:-4000}:4000"
- '${TRAILBASE_PORT_OVERRIDE:-4000}:4000'
environment:
- TZ=${TZ:-UTC}
- RUST_BACKTRACE=${TRAILBASE_RUST_BACKTRACE:-1}
volumes:
- trailbase_data:/app/traildepot
healthcheck:
test: ["CMD", "curl", "--fail", "--silent", "--show-error", "http://localhost:4000/api/healthcheck"]
test: [CMD, curl, --fail, --silent, --show-error, 'http://localhost:4000/api/healthcheck']
interval: 30s
timeout: 10s
retries: 5