更新docker-compose镜像名称

This commit is contained in:
h88782481 2026-04-05 22:13:30 +08:00
parent a8f5ada8e1
commit cb7350b100

17
docker-compose.yml Normal file
View file

@ -0,0 +1,17 @@
services:
api2cursor:
build: .
container_name: api2cursor
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