更新docker-compose镜像名称
This commit is contained in:
parent
a8f5ada8e1
commit
cb7350b100
1 changed files with 1 additions and 0 deletions
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue