first commit

This commit is contained in:
Vadim Sobinin
2026-02-02 16:14:57 +03:00
commit fc886320e3
48 changed files with 5569 additions and 0 deletions

28
compose.yaml Normal file
View File

@@ -0,0 +1,28 @@
services:
timetracker:
build: .
container_name: timetracker
restart: unless-stopped
ports:
- 34225:3000
environment:
- NODE_ENV=production
- DATABASE_URL=file:/app/data/timetracker.db
- JWT_SECRET=${JWT_SECRET:-change-this-secret-in-production}
- PORT=3000
volumes:
- timetracker-data:/app/data
healthcheck:
test:
- CMD
- wget
- -q
- --spider
- http://localhost:3000/api/auth/me
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
timetracker-data: null
networks: {}