Open source software you can use to create a beautiful website, blog, or app
https://github.com/wordpress/wordpress
925d5703a9
All checks were successful
continuous-integration/drone/push Build is passing
Ref coop-cloud/abra#47 |
||
---|---|---|
backup.d | ||
.drone.yml | ||
.env.sample | ||
.gitignore | ||
abra-commands.sh | ||
compose.mailrelay.yml | ||
compose.yml | ||
entrypoint.mailrelay.sh.tmpl | ||
entrypoint.sh.tmpl | ||
LICENSE | ||
msmtp.conf.tmpl | ||
package.yml | ||
README.md | ||
renovate.json | ||
uploads.ini |
wordpress
Coöp Cloud + Wordpress = 🥳
- Set up Docker Swarm and
abra
- Deploy
coop-cloud/traefik
abra app new wordpress
abra app YOURAPPDOMAIN config
- be sure to change$DOMAIN
to something that resolves to your Docker swarm boxabra app YOURAPPDOMAIN secret auto
(optionally with--pass
if you'd like to save secrets inpass
).abra app YOURAPPDOMAIN deploy
- Open the configured domain in your browser to finish set-up
abra app YOURAPPDOMAIN run app chown www-data:www-data /var/www/html/wp-content
to fix file permissions (see #3)
Running WP-CLI
abra app YOURAPPDOMAIN wp 'core check-update --major'
(the WP-CLI arguments need to be quoted, because of how abra
handles
command-line arguments)
Network (Multi-site)
(Only tested using subdomains)
- Set up as above
abra app YOURAPPDOMAIN config
, and uncomment the first# Multisite
sectionabra app YOURAPPDOMAIN deploy
- Log into the Wordpress admin dashboard, go to Tools » Network Setup
- Don't worry about the suggested file changes
abra app YOURAPPDOMAIN config
again - comment out the first# Multisite
section in.envrc
, uncomment the# Multisite phase 2
section, and add your multisite subdomain(s) toEXTRA_DOMAINS
(beware the weird syntax..)abra app YOURAPPDOMAIN deploy
Installing a custom theme
abra app YOURAPPDOMAIN cp ~/path/to/local/theme wordpress:/var/www/html/wp-content/themes/
Backups
abra app YOURAPPDOMAIN config
, and uncomment theexport COMPOSE_FILE="compose.yml:compose.backup.yml"
lineabra app YOURAPPDOMAIN deploy
- Deploy [
postfix-relay
][cc-postfix-relay] abra app YOURAPPDOMAIN config
, and uncomment the email lines; changeMAIL_FROM
to make sure the domain is the same aspostfix-relay
's$DOMAIN
or in its$EXTRA_SENDER_DOMAINS
abra app YOURAPPDOMAIN deploy