Add Docker deployment with deploy.sh

- Dockerfile: static build on alpine, runs as non-root, data on /data
  volume, health check on /healthz
- deploy.sh: builds the image and (re)starts a detached container with
  restart policy, .env as env file and the pocketkv-data volume
- .env.example: PORT for the host port; go-run-only settings commented out
- README: Docker deployment, updates, backups and HTTPS via Caddy

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Paul TalandClaude Opus 5.5 committed 2026-11-22 22:30:29 +02:00
1 parent cb29d58aa2
commit f8e851fdb9
5 files changed
+97 -5

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
.git
.env
data
pocketkv