add: add docker compose stacks

This commit is contained in:
2026-01-16 05:50:15 +00:00
commit d542622d00
18 changed files with 583 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
version: "3.8"
services:
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
restart: always
ports:
- "3001:3001" # This maps the container port "3001" to the host port "3001"
volumes:
- /data/docker/uptimekuma/data:/app/data # Configuring persistent storage
environment:
- TZ=Asia/Ho_Chi_Minh # Set the timezone (change to your preferred local timezone so monitoring times are the same)
- UMASK=0022 # Set your file permissions manually
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001"]
interval: 30s
retries: 3
start_period: 10s
timeout: 5s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"