6b59677976b39dc3f7ab19a37e2a90da177cd03b
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--passif you'd like to save secrets inpass)abra app YOURAPPDOMAIN config- be sure to change$DOMAINto 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-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/
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.
- Deploy
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%