feat: add more

This commit is contained in:
Sun-ZhenXing
2025-10-06 21:48:39 +08:00
parent f330e00fa0
commit 3c609b5989
120 changed files with 7698 additions and 59 deletions

View File

@@ -0,0 +1,37 @@
x-default: &default
restart: unless-stopped
volumes:
- &localtime /etc/localtime:/etc/localtime:ro
- &timezone /etc/timezone:/etc/timezone:ro
logging:
driver: json-file
options:
max-size: 100m
services:
openlist:
<<: *default
image: openlistteam/openlist:${OPENLIST_VERSION:-latest}
container_name: openlist
ports:
- "${OPENLIST_PORT_OVERRIDE:-5244}:5244"
volumes:
- *localtime
- *timezone
- openlist_data:/opt/openlist/data
environment:
- PUID=${PUID:-0}
- PGID=${PGID:-0}
- UMASK=${UMASK:-022}
- TZ=${TZ:-Asia/Shanghai}
deploy:
resources:
limits:
cpus: '1.0'
memory: 1G
reservations:
cpus: '0.25'
memory: 256M
volumes:
openlist_data: