Go to file
KawaiiPunk 27442e3e4e
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Merge pull request 'chown entire wp-content to ensure correct permissions' (#60) from kawaiipunk/wordpress:main into main
Reviewed-on: #60
2026-06-03 18:31:04 +00:00
2026-04-28 01:54:50 +02:00
2026-06-02 17:37:29 +01:00
2023-11-09 17:41:26 +00:00
2023-10-23 12:49:47 +01:00
2026-06-02 17:42:25 +01:00
2026-04-28 01:57:52 +02:00
2020-05-03 00:21:33 +02:00
2023-10-23 12:49:47 +01:00
2024-01-29 20:41:59 +01:00

Wordpress

Build Status

Coöp Cloud + Wordpress = 🥳

  • Category: Apps
  • Status: 4
  • 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)

  1. Set up as above
  2. abra app config <app-name>, and uncomment #MULTISITE=enable
  3. abra app deploy <app-name>
  4. Log into the Wordpress admin dashboard, go to Tools » Network Setup
  5. Don't worry about the suggested file changes
  6. abra app config <app-name> again and set MULTISITE to either subdomain or subfolder depending on your setup.
  7. 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/

Email

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.

  1. Deploy postfix-relay
  2. abra app config <app-name>, and uncomment the email lines; change MAIL_FROM to make sure the domain is the same as postfix-relay's $DOMAIN or in its $EXTRA_SENDER_DOMAINS
  3. abra app deploy <app-name>

Migrate from a non-Co-op Cloud Wordpress install

Make a .tar.gz backup of the site's wp-content dir and an .sql.gz backup of the database.

  1. abra app wp.example.com restore app wp-content.tar.gz
  2. abra app wp.example.com restore db wordpress.sql.gz

Lastly, if there's a domain name change, run a search and replace: abra app wp.example.com wp "search-replace https://old.example.com https://wp.example.com"

Description
Open source software you can use to create a beautiful website, blog, or app
https://github.com/wordpress/wordpress Readme GPL-3.0 802 KiB
Languages
Shell 98%
Roff 2%