Giter VIP home page Giter VIP logo

docker-alpine-wordpress's Introduction

Docker Stars Docker Pulls

Alpine Wordpress

This image is based on evild/alpine-php

Version

What is WordPress?

WordPress is a free and open source blogging tool and a content management system (CMS) based on PHP and MySQL, which runs on a web hosting service. Features include a plugin architecture and a template system. WordPress is used by more than 22.0% of the top 10 million websites as of August 2013. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites. The most popular languages used are English, Spanish and Bahasa Indonesia.

Installation

Automated builds of the image are available on Dockerhub and is the recommended method of installation.

docker pull evild/alpine-wordpress:4.5.3

You can also pull the latest tag which is built from the repository HEAD

docker pull evild/alpine-wordpress:latest

Alternatively you can build the image locally.

docker build -t evild/alpine-wordpress github.com/evild67/alpine-wordpress

Quick Start

You can manually launch the Wordpress container and the supporting Nginx and Database containers.

MariaDB :

docker run -t mariadb -e MYSQL_ROOT_PASSWORD=password --link mariadb mariadb:latest

Wordpress :

docker run -t wordpress -e WORDPRESS_DB_HOST=mariadb -e WORDPRESS_PASSWORD=password --link mariadb evild/alpine-wordpress

Database & Wordpress containers are running. You can now link Wordpress to a nginx server.

Available Configuration Parameters

Please refer the docker run command options for the --env-file flag where you can specify all required environment variables in a single file. This will save you from writing a potentially long docker run command. Alternatively you can use docker-compose.

Below is the complete list of available options that can be used to customize your WordPress installation.

  • WORDPRESS_DEBUG: Set this to true to enable debugging.
  • WORDPRESS_DB_HOST (REQUIRED): The hostname of the database server.
  • WORDPRESS_DB_USER: The database database user. Defaults to root
  • WORDPRESS_DB_PASSWORD (REQUIRED): The database database password.
  • WORDPRESS_DB_NAME: The database database name. Defaults to to wordpress
  • WORDPRESS_AUTH_KEY: Defaults to unique random SHA1s
  • WORDPRESS_SECURE_AUTH_KEY: Defaults to unique random SHA1s
  • WORDPRESS_LOGGED_IN_KEY: Defaults to unique random SHA1s
  • WORDPRESS_NONCE_KEY: Defaults to unique random SHA1s
  • WORDPRESS_AUTH_SALT: Defaults to unique random SHA1s
  • WORDPRESS_SECURE_AUTH_SALT: Defaults to unique random SHA1s
  • WORDPRESS_WORDPRESS_LOGGED_IN_SALT: Defaults to unique random SHA1s
  • WORDPRESS_NONCE_SALT: Defaults to unique random SHA1s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.