Add Docker build and Gitea Actions CI for deployment

Multi-stage Alpine Dockerfile producing a standalone Next.js image
with the better-sqlite3 native addon included. Gitea workflow builds
on push to main and on v* tags, pushing to the Gitea registry using
the REGISTRY_URL variable and REGISTRY_TOKEN secret. Compose file
mounts ./data so alerts.db and settings.json persist across restarts.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 10:04:22 -04:00
parent 74588e50f6
commit 3eeac0fe10
5 changed files with 139 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
.git
.gitea
.github
.claude
.vscode
.idea
node_modules
.next
out
build
coverage
data
.env*
README.md
*.md
!package.json
Dockerfile
docker-compose*.yml
.dockerignore
*.log
.DS_Store
*.tsbuildinfo
next-env.d.ts