Public | Automated Build

Last pushed: 5 months ago
Short Description
Wordpress application for Goodrain ACP
Full Description

WordPress-CN for ACP

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.

Supported tags and Dockerfile links

About this image

This is the wordpress Chinese image, update the speed slightly slower than the official version.

Can be installed in Goodrain ACM. Fully compatible with the Goodrain ACP platform.

Wordpress+PHP7+Apache2

How to use this image

Via ACM install

Via docker-compose

You can find the docker-compose.ymal file in the source code and run it by docker-compose

docker-compose.ymal

version: '3.1'

services:

  wordpress:
    container_name: wordpress
    image: goodrainapps/wordpress:4.7.4
    ports:
      - 8080:80
    environment:
      MYSQL_USER: root
      MYSQL_PASS: wordpress4you
      DEBUG: 1
    links:
      - mysql
    volumes:
      - wordpress-data:/var/www/html
    depends_on:
      - mysql

  mysql:
    container_name: mysql
    image: mysql:5.7
    environment:
      MYSQL_ROOT_PASSWORD: wordpress4you
    volumes:
      - mysql-data:/var/lib/mysql

volumes:
  wordpress-data:
  mysql-data:

run docker-compose

$ docker-compose -f somepath/docker-compose.yaml up -d

Visit http://localhost:8080 to open the wordpress settings page.

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

Name default comments
MYSQL_HOST 127.0.0.1 mysql host ip
MYSQL_PORT 3306 mysql service port
MYSQL_USER root mysql username
MYSQL_PASS random mysql password
WORDPRESS_DB_NAME wordpress wordpress database name
WORDPRESS_TABLE_PREFIX wp_ wordpress table prefix string
WORDPRESS_AUTH_KEY random AUTH_KEY
WORDPRESS_SECURE_AUTH_KEY random SECURE_AUTH_KEY
WORDPRESS_LOGGED_IN_KEY random LOGGED_IN_KEY
WORDPRESS_NONCE_KEY random NONCE_KEY
WORDPRESS_AUTH_SALT random AUTH_SALT
WORDPRESS_SECURE_AUTH_SALT random SECURE_AUTH_SALT
WORDPRESS_LOGGED_IN_SALT random LOGGED_IN_SALT
WORDPRESS_NONCE_SALT random NONCE_SALT
WORDPRESS_SECURE_AUTH_SALT random SECURE_AUTH_SALT
WORDPRESS_SECURE_AUTH_SALT random SECURE_AUTH_SALT
DEBUG null docker-entrypoint.sh debug switch
MAXWAIT 60 mysql service connect max wait time
PAUSE null docker-entrypoint.sh pause for debug
Docker Pull Command
Owner
goodrainapps
Source Repository