Skip to content

Ankitchandre/Mediawiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mediawiki

Helm chart for mediawiki to deploy on kubernetes

Pre-requisites

1.) A Kubernetes cluster on cloud or Raspberry pi. You can also run a minikube or docker for windows desktop .
2.) Helm
3.) kubectl

versions installed on my machine .
kubernetes v1.19.3
helm v3.5.2
docker image > achandre/mediawiki

How to run

The repo conatines two charts .

1.) mediawiki-chart runs mediawiki app
2.) mediawiki-mariadb-chart runs database for mediawiki app.

To deploy, hop over to the chart and execute below command

helm install chartname /directory

example > helm install mediawiki ./mediawiki-chart and helm install database ./mediawiki-mariadb-chart

The application will be served on the external ip provided by load balancer . In my case it was > http://localhost:8080. The databse host will be available at database:3306. Set the db root password, username and db name from values file placed inside mediawiki-mariadb-chart . Use the same to configure mediawiki db details page .

At the end of configuartion , LocalSettings.php will be downloaded . The same file need to be placed at /var/www/html inside conatiner . This can be done by removing commented hostmount in deployment.yaml of mediawiki-chart and providing a hostmount path.

About

Helm chart for mediawiki to deploy on kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published