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,15 +4,15 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
libreoffice:
<<: *defaults
image: lscr.io/linuxserver/libreoffice:${LIBREOFFICE_VERSION:-latest}
ports:
- "${LIBREOFFICE_HTTP_PORT_OVERRIDE:-3000}:3000"
- "${LIBREOFFICE_HTTPS_PORT_OVERRIDE:-3001}:3001"
- '${LIBREOFFICE_HTTP_PORT_OVERRIDE:-3000}:3000'
- '${LIBREOFFICE_HTTPS_PORT_OVERRIDE:-3001}:3001'
volumes:
- libreoffice_config:/config
environment:
@@ -33,7 +33,7 @@ services:
cpus: ${LIBREOFFICE_CPU_RESERVATION:-0.50}
memory: ${LIBREOFFICE_MEMORY_RESERVATION:-512M}
healthcheck:
test: ["CMD", "curl", "-f", "-k", "https://localhost:3001/"]
test: [CMD, curl, -f, -k, 'https://localhost:3001/']
interval: 30s
timeout: 10s
retries: 3