This commit is contained in:
Waylon Walker 2025-11-22 22:20:32 -06:00
parent 8c0277c8f3
commit 9e2c30af22
60 changed files with 8853 additions and 232 deletions

31
photoprism/justfile Normal file
View file

@ -0,0 +1,31 @@
default: cred convert deploy viz
update: convert patch
create-ns:
kubectl create ns photoprism
cred:
kubectl get secret -n default regcred --output=yaml -o yaml | sed 's/namespace: default/namespace: photoprism/' | kubectl apply -n photoprism -f - && echo deployed secret || echo secret exists
convert:
kompose convert -o deployment.yaml -n photoprism
deploy:
kubectl apply -f deployment.yaml
delete:
kubectl delete all --all -n photoprism --timeout=0s
viz:
k8sviz -n photoprism --kubeconfig $KUBECONFIG -t png -o photoprism-k8s.png
restart:
kubectl rollout restart -n photoprism deployment/photoprism
patch:
kubectl patch -f deployment.yaml
describe:
kubectl get deployment -n photoprism
kubectl get rs -n photoprism
kubectl get pod -n photoprism
kubectl get svc -n photoprism
kubectl get ing -n photoprism
describe-pod:
kubectl describe pod -n photoprism
logs:
kubectl logs --all-containers -l io.kompose.service=photoprism-wayl-one -n photoprism -f