Open source software you can use to create a beautiful website, blog, or app https://github.com/wordpress/wordpress
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3wc 7962da376c Switch to self-hosted stack-ssh-deploy image [mass update] 2 weeks ago
.drone.yml Switch to self-hosted stack-ssh-deploy image [mass update] 2 weeks ago
.env.sample Add support for WORDPRESS_TABLE_PREFIX 😬 3 months ago
.gitignore Update for Current Exciting Sep 2020 Best-Practice 2 years ago
LICENSE Init this new WP setup 3 years ago
README.md Update abra syntax in examples (finally) [mass update] 2 weeks ago
abra.sh feat: longblob some stuff 2 months ago
compose.mailrelay.yml Fix SMTP_PORT, and container startup 10 months ago
compose.smtp.yml Fix syntax 2 years ago
compose.yml chore: publish 2.2.1+6.1.1 release 2 weeks ago
entrypoint.mailrelay.sh.tmpl Fix SMTP_PORT, and container startup 10 months ago
entrypoint.sh.tmpl feat: yet another attempt at wp-cli 10 months ago
msmtp.conf.tmpl Add missing from 2 years ago
renovate.json Add renovate.json 2 years ago
uploads.ini Enable additional PHP extensions 2 years ago

README.md

Wordpress

Build Status

Coöp Cloud + Wordpress = 🥳

  • Category: Apps
  • Status: 3, stable
  • Image: wordpress, 4, upstream
  • Healthcheck: Yes
  • Backups: Yes
  • Email: 3
  • Tests: 2
  • SSO: No

Basic usage

  1. Set up Docker Swarm and abra
  2. Deploy coop-cloud/traefik
  3. abra app new wordpress --secrets (optionally with --pass if you'd like to save secrets in pass)
  4. abra app config YOURAPPDOMAIN - be sure to change $DOMAIN to something that resolves to your Docker swarm box
  5. abra app deploy YOURAPPDOMAIN
  6. Open the configured domain in your browser to finish set-up
  7. abra app run YOURAPPDOMAIN app chown www-data:www-data /var/www/html/wp-content to fix file permissions (see #3)

Running WP-CLI

abra app cmd YOURAPPDOMAIN app wp -- core check-update --major

Network (Multi-site)

(Only tested using subdomains)

  1. Set up as above
  2. abra app config YOURAPPDOMAIN, and uncomment the first # Multisite section
  3. abra app deploy YOURAPPDOMAIN
  4. Log into the Wordpress admin dashboard, go to Tools » Network Setup
  5. Don't worry about the suggested file changes
  6. abra app config YOURAPPDOMAIN again - comment out the first # Multisite section in .envrc, uncomment the # Multisite phase 2 section, and add your multisite subdomain(s) to EXTRA_DOMAINS (beware the weird syntax..)
  7. abra app deploy YOURAPPDOMAIN

Installing a custom theme

abra app cp YOURAPPDOMAIN ~/path/to/local/theme wordpress:/var/www/html/wp-content/themes/

Email

There is a local or remote SMTP relay configuration available.

  • local: COMPOSE_FILE=compose.yml:compose.mailrelay.yml
  • remote: COMPOSE_FILE=compose.yml:compose.mailrelay.yml:compose.smtp.yml

Below are the instructions for the local relay.

  1. Deploy postfix-relay
  2. abra app config YOURAPPDOMAIN, and uncomment the email lines; change MAIL_FROM to make sure the domain is the same as postfix-relay's $DOMAIN or in its $EXTRA_SENDER_DOMAINS
  3. abra app deploy YOURAPPDOMAIN