first commit

This commit is contained in:
Puechberty Arthur
2026-03-30 20:19:05 +02:00
commit c96a23dc12
27 changed files with 8889 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
services:
chrono:
image: node:22-alpine
container_name: chrono-app
working_dir: /app
ports:
- "3015:3000"
environment:
- NODE_ENV=production
- HOSTNAME=0.0.0.0
- PORT=3000
volumes:
- .:/app
- node_modules:/app/node_modules
command: sh -c "npm install && npm run build && npm start"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
node_modules: