This commit is contained in:
ChenKaiLiuG
2025-12-12 11:14:52 +08:00
parent 6a2be5c95b
commit f64b88b536
3 changed files with 145 additions and 19 deletions

View File

@@ -1,25 +1,22 @@
version: "3.8"
services:
dashy:
image: lissy93/dashy:latest
container_name: Dashy
# 掛載您的 Dashy 配置檔案
volumes:
- ./conf.yml:/app/user-data/conf.yml
- dashy_data:/app/user-data
ports:
- "9070:8080"
environment:
- NODE_ENV=production
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
# 健康檢查
healthcheck:
test: ['CMD', 'node', '/app/services/healthcheck']
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
- /mnt/data/External/dashboard/configs:/app/data/configs
- /mnt/data/External/dashboard/icons:/app/public/icons
- homarr_data:/data
ports:
- "9070:7575"
networks:
- webproxy
volumes:
dashy_data:
homarr_data:
networks:
webproxy:
external: true