From f0c76b120ada2b8d71e967d94764e72bcae5465e Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:14:43 +0330 Subject: [PATCH] Import source: docker-compose.yml Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- docker-compose.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f2cdd87 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +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: