Install Privatebin on OKD4x

From Bitbull Wiki
Revision as of 10:46, 3 November 2023 by Chris (talk | contribs) (Created page with "* https://privatebin.info/ <pre> oc new-project privatebin oc new-app --image=privatebin/nginx-fpm-alpine:latest --name privatebin oc set volume deployment/privatebin --remov...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
oc new-project privatebin
oc new-app --image=privatebin/nginx-fpm-alpine:latest --name privatebin
oc set volume deployment/privatebin --remove --mount-path=/srv/data --confirm
oc set volume deployment/privatebin --add --name=data --mount-path=/srv/data -t pvc --claim-size=5G --claim-mode=ReadWriteOnce 

oc create route edge privatebin --service=privatebin --port=8080 --hostname=pb.domain.com