feat: update Guidelines

This commit is contained in:
Sun-ZhenXing
2025-10-15 14:00:03 +08:00
parent fe329c80eb
commit 8cf227bd14
76 changed files with 1078 additions and 671 deletions

View File

@@ -1,27 +1,23 @@
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
max-file: "3"
services:
dockge:
<<: *default
image: louislam/dockge:${DOCKGE_VERSION:-1}
container_name: dockge
ports:
- "${PORT_OVERRIDE:-5001}:5001"
volumes:
- *localtime
- *timezone
- /var/run/docker.sock:/var/run/docker.sock
- dockge_data:/app/data
- ${STACKS_DIR:-./stacks}:/opt/stacks
environment:
- TZ=${TZ:-UTC}
- DOCKGE_STACKS_DIR=${DOCKGE_STACKS_DIR:-/opt/stacks}
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
@@ -33,6 +29,12 @@ services:
reservations:
cpus: '0.25'
memory: 256M
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5001/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
dockge_data: