Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Quick WordPress Installation using Docker

NotificationsYou must be signed in to change notification settings

russellmacshane/quick-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick WordPress Installation using Docker

The goal of this project is to create a quick virtual machine setup with a WordPress installation for testing purposes. The following technologies are automatically installed for you:

  • Ubuntu
  • Apache
  • MariaDB
  • PHP
  • phpMyAdmin
  • WPCli
  • WordPress

Pre-Installation

  1. InstallDocker
  2. InstallDocker Compose

Installation Instructions

  1. Find a directory on your computer that you'd like to install this repo
  2. $ git clone git@github.com:russellmacshane/quick-wordpress.git orgit clone https://github.com/russellmacshane/quick-wordpress.git if you don't have yourssh keys setup
  3. $ cd quick-wordpress
  4. Your are strongly encouraged to modify the default passwords and WordPress setup information in theconfig file
  5. $ docker-compose up -d
  6. Grab some ☕️ coffee, it'll take a bit to install all the necessary dependencies

Usage

  1. Make sure the container is up and running with$ docker-compose ps
  2. Point your web browser over tohttp://localhost/ to view your WordPress site
  3. You can also get to phpMyAdmin by going tohttp://localhost/phpmyadmin/
  4. If you'd like to login into the container -$ docker-compose exec qwp /bin/bash
  5. WordPress files are located in/var/www/html and you can run WPCli commands from there
  6. This repo is mirrored from your local machine over to/home/docker/quick-wordpress on your container

Backup and Restores

  1. In order to do backup and restores:
  2. $ docker-compose exec qwp qwcli backup and follow the on screen instructions
  3. If you'd like to restore from a previous backup -$ docker-compose exec qwp qwcli restore and follow the on screen instructions

Start and Stopping

  1. $ docker-compose stop to stop the container
  2. $ docker-compose start to bring it back up again

Cleanup

  1. If you are ready to delete your WordPress Container -$ docker-compose down

[8]ページ先頭

©2009-2025 Movatter.jp