38c4fe0246827056c54b437719a9e36838700f98
All checks were successful
continuous-integration/drone/push Build is passing
Ref coop-cloud/abra#43
wordpress
Coöp Cloud + Wordpress = 🥳
- Set up Docker Swarm and
abra - Deploy
coop-cloud/traefik abra app new wordpressabra app YOURAPPDOMAIN config- be sure to change$DOMAINto something that resolves to your Docker swarm boxabra app YOURAPPDOMAIN secret auto(optionally with--passif 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-contentto 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# Multisitesectionabra 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 configagain - comment out the first# Multisitesection in.envrc, uncomment the# Multisite phase 2section, 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_FROMto make sure the domain is the same aspostfix-relay's$DOMAINor in its$EXTRA_SENDER_DOMAINSabra app YOURAPPDOMAIN deploy
Description
Open source software you can use to create a beautiful website, blog, or app
https://github.com/wordpress/wordpress
Readme
GPL-3.0
603 KiB
Languages
Shell
92%
Roff
8%