init: 狐蒂云活动监控项目初始化

This commit is contained in:
ikmkj
2026-03-18 12:16:18 +08:00
commit b0afdbd9a0
20 changed files with 16147 additions and 0 deletions

21
docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
version: '3.8'
services:
hdy-monitor:
build:
context: .
dockerfile: Dockerfile
image: hdy-monitor:latest
container_name: hdy-monitor
ports:
- "${PORT:-3000}:3000"
restart: unless-stopped
environment:
- NODE_ENV=production
- PORT=3000
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s