Files
Nova/docker-compose.yml
arsam f0c76b120a Import source: docker-compose.yml
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
2026-09-18 23:14:43 +03:30

24 lines
506 B
YAML

services:
nova:
build: .
container_name: nova-bot
restart: unless-stopped
env_file:
- .env
environment:
PORT: "3000"
DB_PATH: /data/nova.db
ports:
- "3000:3000"
volumes:
- nova-data:/data
healthcheck:
test: ["CMD-SHELL", "node -e \"fetch('http://127.0.0.1:3000/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
volumes:
nova-data: