2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 17:17:19 +08:00
Files
templates/new-api/docker-compose.yml
renovate[bot] 38b88b6d56 chore(deps): update calciumion/new-api docker tag to v0.10.7 (#27)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-03 19:07:32 +00:00

25 lines
619 B
YAML

services:
new-api:
image: calciumion/new-api:v0.10.7
restart: unless-stopped
ports:
- ${NEW_API_PORT_HTTP}:3000
networks:
- acepanel-network
command: --log-dir /app/logs
volumes:
- ./data:/data
- ./logs:/app/logs
environment:
- TZ=${NEW_API_TIME_ZONE}
- ERROR_LOG_ENABLED=true
- MEMORY_CACHE_ENABLED=true
healthcheck:
test: [ "CMD-SHELL", "wget -q -O - http://localhost:3000/api/status | grep -o '\"success\":\\s*true' || exit 1" ]
interval: 30s
timeout: 10s
retries: 3
networks:
acepanel-network:
external: true