aimodels-prices/docker-compose.yml

22 lines
576 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
aimodels-prices:
container_name: aimodels-prices
image: woodchen/aimodels-prices:latest
restart: always
environment:
- GIN_MODE=release
- PORT=8080
- TZ=Asia/Shanghai
# 飞书Webhook配置可选
# - FEISHU_WEBHOOK_URL=https://open.feishu.cn/open-apis/bot/v2/hook/your-webhook-url
volumes:
- ./data:/app/data
ports:
- 10124:80
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:80"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s