Sign inSign up

goodrainapps/wordpress

By goodrainapps

•Updated almost 9 years ago

Wordpress application for Goodrain ACP

Image
1

729

goodrainapps/wordpress repository overview

⁠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.

logo

⁠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

deploy to ACP

⁠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.9.1
    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:

Namedefaultcomments
MYSQL_HOST127.0.0.1mysql host ip
MYSQL_PORT3306mysql service port
MYSQL_USERrootmysql username
MYSQL_PASSrandommysql password
WORDPRESS_DB_NAMEwordpresswordpress database name
WORDPRESS_TABLE_PREFIXwp_wordpress table prefix string
WORDPRESS_AUTH_KEYrandomAUTH_KEY
WORDPRESS_SECURE_AUTH_KEYrandomSECURE_AUTH_KEY
WORDPRESS_LOGGED_IN_KEYrandomLOGGED_IN_KEY
WORDPRESS_NONCE_KEYrandomNONCE_KEY
WORDPRESS_AUTH_SALTrandomAUTH_SALT
WORDPRESS_SECURE_AUTH_SALTrandomSECURE_AUTH_SALT
WORDPRESS_LOGGED_IN_SALTrandomLOGGED_IN_SALT
WORDPRESS_NONCE_SALTrandomNONCE_SALT
WORDPRESS_SECURE_AUTH_SALTrandomSECURE_AUTH_SALT
WORDPRESS_SECURE_AUTH_SALTrandomSECURE_AUTH_SALT
DEBUGnulldocker-entrypoint.sh debug switch
MAXWAIT60mysql service connect max wait time
PAUSEnulldocker-entrypoint.sh pause for debug

Tag summary

Content type

Image

Digest

Size

41.4 MB

Last updated

almost 9 years ago

docker pull goodrainapps/wordpress