~busykoala/wp_container_template

A template for setting up a new wordpress page in a few clicks.
5592ee57 — Matthias Osswald 2 years ago
Use same dir for wp data.
b46ca416 — Matthias Osswald 2 years ago
Add license file.
132b2466 — Matthias Osswald 2 years ago
Name container generically.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~busykoala/wp_container_template
read/write
git@git.sr.ht:~busykoala/wp_container_template

You can also use your local clone with git send-email.

#Wordpress fast setup

This is a setup to just start another wordpress page in an instance.

#General Info

The applications files will be located in the directory ./wordpress-files.

The database volume can be found with docker volume ls.

#Installtion & Start

  • Add an .env file (there is an example provided).
    • mariadb root user pw
    • mariadb user name
    • mariadb user pw
    • exposed port for wp installation
    • name of the wp container
  • Start with docker-compose up -d.

#Update Docker Setup

  • docker-compose up --force-recreate --build -d
  • docker image prune -f

#Backup Strategies

This has to be worked out in detail.

#Site Setup

The site setup can be copied (./wordpress-files). In there is the current code base.

#Volume (DB)

The volume can be saved and loaded to and from a .tar file.

https://stackoverflow.com/a/62704116/10750109