rohammosalli / wordpress

Dockerized wordpress for Openshift and Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wordpress

Dockerized wordpress for Openshift and Kubernetes

you have to build the docker file

$ docker build -t wordpress/rohammosalli .
$ docker tag wordpress/rohammosalli  registry-host:5000/blog/blog
$ docker push registry-host:5000/blog/blog

How to use

The following environment variables are also honored for configuring your WordPress instance on your cluster:

  • -e WORDPRESS_DB_HOST=... (defaults to the IP and port of the linked mysql container)
  • -e WORDPRESS_DB_USER=... (defaults to "root")
  • -e WORDPRESS_DB_PASSWORD=... (defaults to the value of the MYSQL_ROOT_PASSWORD environment variable from the linked mysql container)
  • -e WORDPRESS_DB_NAME=... (defaults to "wordpress")

then you can use the image in your Openshift Cluster or Kubernetes cluster ;)

About

Dockerized wordpress for Openshift and Kubernetes

License:MIT License


Languages

Language:Shell 79.2%Language:Dockerfile 20.8%