forked from coop-cloud/wordpress
2.5 KiB
2.5 KiB
Wordpress
Coöp Cloud + Wordpress = 🥳
- Category: Apps
- Status: 3, stable
- Image:
wordpress
, 4, upstream - Healthcheck: Yes
- Backups: Yes
- Email: 3
- Tests: 2
- SSO: No
Quick start
abra app new wordpress
abra app config <app-name>
abra app secret generate -a <app-name>
abra app deploy <app-name>
abra app cmd <app-name> app core_install
Authentik Integration
abra app config <app-name>
Configure the following envs:
COMPOSE_FILE="$COMPOSE_FILE:compose.authentik.yml"
AUTHENTIK_DOMAIN=authentik.example.com
AUTHENTIK_SECRET_NAME=authentik_example_com_wordpress_secret_v1 # the same as in authentik
AUTHENTIK_ID_NAME=authentik_example_com_wordpress_id_v1 # the same as in authentik
abra app cmd <app-name> app set_authentik
Running WP-CLI
abra app cmd <app-name> app wp -- core check-update --major
Network (Multi-site)
(Only tested using subdomains)
- Set up as above
abra app config <app-name>
, and uncomment the first# Multisite
sectionabra app deploy <app-name>
- Log into the Wordpress admin dashboard, go to Tools » Network Setup
- Don't worry about the suggested file changes
abra app config <app-name>
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 deploy <app-name>
Installing a custom theme
abra app cp <app-name> ~/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 config <app-name>
, 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 deploy <app-name>