Skip to content

MrZoidbergMD/sinusbot-openshift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sinusbot OpenShift

Based on https://github.com/SinusBot/docker.git with modifications to run under openshift with any non-root uid

Tested on OpenShift 4.2

Usage

Install the template:

  • in current project: oc create -f openshift-template.yaml
  • for the entire cluster: oc create -f openshift-template.yaml -n openshift

install inside a namespace

  1. show parameter: oc process sinusbot-openshift-template --parameters
  2. create from template: oc process sinusbot-openshift-template -p WEBPANEL_DOMAIN=sinusbot.apps.yourclouster.local -p NAME=sinusbot -p NAMESPACE=sinus-openshift
  3. trigger build: oc start-build sinusbot-openshift-build
  4. wait until build is complete oc get builds -w
  5. trigger the deployment deployment.apps/sinusbot

remove everything

  1. oc delete all,pvc,cm,secret -l app=NAME,template=sinusbot-openshift-template -n YOUR-NAMESPACE

youtube-dl

Update of youtube-dl is moved to the Dockerfile. So you can update is by rebuilding the Image

  1. trigger build: oc start-build sinusbot-openshift-build

About

Dockerfile to run sinusbot under OpenShift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published