Open source software you can use to create a beautiful website, blog, or app
https://github.com/wordpress/wordpress
|
||
---|---|---|
backup.d | ||
.drone.yml | ||
.env.sample | ||
.gitignore | ||
abra.sh | ||
compose.mailrelay.yml | ||
compose.yml | ||
entrypoint.mailrelay.sh.tmpl | ||
entrypoint.sh.tmpl | ||
LICENSE | ||
msmtp.conf.tmpl | ||
README.md | ||
renovate.json | ||
uploads.ini |
Wordpress
Coöp Cloud + Wordpress = 🥳
- Category: Apps
- Status: ❶💚
- Image:
wordpress
, ❶💚, upstream - Healthcheck: Yes
- Backups: Yes
- Email: ❶💚
- Tests: ❷💛
- SSO: No
Basic usage
- Set up Docker Swarm and
abra
- Deploy
coop-cloud/traefik
abra app new wordpress --secrets
(optionally with--pass
if you'd like to save secrets inpass
)abra app YOURAPPDOMAIN config
- be sure to change$DOMAIN
to something that resolves to your Docker swarm boxabra 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 (using backup-bot)
abra app YOURAPPDOMAIN config
, and uncomment theexport COMPOSE_FILE="compose.yml:compose.backup.yml"
lineabra app YOURAPPDOMAIN deploy
- Deploy
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