chore: migrate from docker compose to kubernetes deployment
- Replace Docker Compose setup with Kubernetes manifests for deployment - Simplify Dockerfile to use PHP's built-in server instead of nginx+supervisor - Add Makefile with build and deploy commands for local development - Update environment configuration for production deployment - Remove docker-specific configuration files (nginx.conf, supervisord.conf)
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
IMG := mkm-admin
|
||||
|
||||
build:
|
||||
podman build -t $(IMG) .
|
||||
|
||||
deploy: build
|
||||
@if [ ! -f .env ]; then cp .env.example .env; fi
|
||||
kubectl create secret generic mkm-admin-env --from-env-file=.env --dry-run=client -o yaml | kubectl apply -f -
|
||||
kubectl apply -f k8s/deployment.yaml
|
||||
|
||||
.PHONY: build deploy
|
||||
Reference in New Issue
Block a user