Add melange/apko build pipeline and Kubernetes manifests

- Add melange.yaml for distroless package build
- Add apko.yaml for minimal container image
- Add GitHub Actions workflow for melange/apko CI build
- Add Kubernetes manifests (deployment, service, configmap, secret, redis)
- Update Dockerfile, .gitignore, and docker-compose.yml
This commit is contained in:
Ketan Patel committed 2026-04-16 18:38:13 -04:00
1 parent cc3581aa4d
commit 9c49e79657
15 files changed
+382 -7

No files matched your search

+1 -4
View File
@@ -1,7 +1,6 @@
version: '3.9'
services:
web:
build: .
image: docker.io/k2patel/apcupsd-client:latest
container_name: apcups-dashboard
ports:
- "10280:8000"
@@ -22,8 +21,6 @@ services:
image: redis:7-alpine
container_name: redis
restart: always
# Uncomment to require password (must also set REDIS_URL=redis://:PASS@redis:6379/0):
# command: ["redis-server", "--appendonly", "yes", "--appendfsync", "everysec", "--requirepass", "${REDIS_PASSWORD}"]
command: ["redis-server", "--appendonly", "yes", "--appendfsync", "everysec"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]