Spaces:
No application file
No application file
| version: '3.8' | |
| services: | |
| antigravity-api: | |
| image: ghcr.io/zhongruan0522/antigravity2api-node-js:latest | |
| container_name: antigravity-api | |
| restart: unless-stopped | |
| ports: | |
| - "8045:8045" | |
| environment: | |
| - PANEL_USER=admin | |
| - PANEL_PASSWORD=admin123321 | |
| - API_KEY=sk-admin123321 | |
| - IMAGE_BASE_URL=IP:8045 | |
| healthcheck: | |
| test: [ "CMD", "node", "-e", "require('http').get('http://localhost:' + process.env.PORT + '/healthz', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))" ] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 40s |