初始化提交

This commit is contained in:
h88782481 2026-03-09 14:18:42 +08:00
commit 202731df74
28 changed files with 3140 additions and 0 deletions

16
compose.yml Normal file
View file

@ -0,0 +1,16 @@
services:
api2cursor:
build: .
ports:
- "${PROXY_PORT:-3029}:${PROXY_PORT:-3029}"
env_file:
- .env
volumes:
- ./data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:${PROXY_PORT:-3029}/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s