Add Linux App Store Web Portal with Kubernetes deployment

- React-style static web portal with Tailwind CSS
- OS detection (Debian/Ubuntu, Fedora, Arch, Generic)
- Dynamic install commands (apt://, appstream://, flatpak)
- 9 pre-configured applications
- Kubernetes: 2 replicas, LoadBalancer service, Nginx ingress
- GitLab Container Registry (git.giaco.net/capitano/webapplinux)
- Namespace: linuxwebapp
- Added Dockerfile, nginx.conf, deploy.sh, docker-compose.yml
- Updated README.md with deployment instructions
This commit is contained in:
capitano
2026-03-18 22:20:20 +01:00
parent d13597e6b2
commit 533cbed8d3
13 changed files with 560 additions and 19 deletions

18
deploy.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
REGISTRY="git.giaco.net"
IMAGE_NAME="capitano/webapplinux"
TAG="latest"
echo "Building image..."
docker build -t $REGISTRY/$IMAGE_NAME:$TAG /home/capitano/kubernetes/infrastructure/webapplinux/
echo "Pushing to registry..."
docker push $REGISTRY/$IMAGE_NAME:$TAG
echo "Deploying to Kubernetes..."
kubectl apply -f k8s/namespace.yaml 2>/dev/null || true
kubectl apply -f k8s/
echo "Check status with: kubectl get pods -n linuxwebapp"