Skip to content

Simple WordPress Docker v1.0.1 Release Note

Latest
Compare
Choose a tag to compare
@InstaZDLL InstaZDLL released this 16 Apr 15:21
· 4 commits to main since this release
3fad6d6

Simple WordPress Docker Setup

This release includes a Docker setup for running a WordPress site. It includes a Dockerfile that sets up a WordPress server and an init.sql script that initializes the WordPress database.

GitHub Release GitHub License GitHub last commit (by committer) GitHub Downloads (all assets, all releases)

New Features

  • Pre-built Image for WordPress: The WordPress in the container is a pre-built image, so the user, password, language, front page, and the first article have been already set. You can modify these in the settings of WordPress.
  • Environment Variables for Configuration: You can set the database host, database name, username, and password using the WORDPRESS_DATABASE_HOST, WORDPRESS_DATABASE, WORDPRESS_DATABASE_USER, and WORDPRESS_DATABASE_PASSWORD environment variables, respectively.

How to Use

You can run a container from this image using the following command:

docker run -d --name wordpress \
    -e WORDPRESS_HOST=your-host-ip \
    -e WORDPRESS_DATABASE_HOST=your-database-host \
    -v /path/to/volume/:/var/www/wordpress \
    -p 80:80 \
    nayeonyny/wordpress:latest

Author

@InstaZDLL

License

This project is licensed under the Academic Free License version 3.0. You may not use this file except in compliance with the License. You may obtain a copy of the License at https://opensource.org/license/afl-3-0-php/.

Full Changelog: v1.0.0...v1.0.1