Open source software you can use to create a beautiful website, blog, or app https://github.com/wordpress/wordpress
Go to file
Moritz db1e7bc88a
continuous-integration/drone/push Build is passing Details
automatic authentik sso configuration
2023-03-30 16:57:44 +02:00
.drone.yml Switch to self-hosted stack-ssh-deploy image [mass update] 2023-01-21 11:49:56 -08:00
.env.sample automatic authentik sso configuration 2023-03-30 16:57:44 +02:00
.gitignore Update for Current Exciting Sep 2020 Best-Practice 2020-09-11 01:30:10 +02:00
LICENSE Init this new WP setup 2020-05-03 00:21:33 +02:00
README.md automatic authentik sso configuration 2023-03-30 16:57:44 +02:00
abra.sh automatic authentik sso configuration 2023-03-30 16:57:44 +02:00
compose.authentik.yml automatic authentik sso configuration 2023-03-30 16:57:44 +02:00
compose.mailrelay.yml Fix SMTP_PORT, and container startup 2022-03-31 12:14:25 +02:00
compose.smtp.yml Fix syntax 2021-06-02 11:22:54 +02:00
compose.yml chore: publish 2.2.1+6.1.1 release 2023-01-19 15:40:48 -08:00
entrypoint.mailrelay.sh.tmpl Fix SMTP_PORT, and container startup 2022-03-31 12:14:25 +02:00
entrypoint.sh.tmpl feat: yet another attempt at wp-cli 2022-03-31 12:14:20 +02:00
msmtp.conf.tmpl Add missing from 2021-06-02 08:36:52 +02:00
renovate.json Add renovate.json 2020-09-14 20:03:20 +00:00
uploads.ini Enable additional PHP extensions 2020-10-23 04:15:35 +02:00

README.md

Wordpress

Build Status

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)

  1. Set up as above
  2. abra app config <app-name>, and uncomment the first # Multisite section
  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 - comment out the first # Multisite section in .envrc, uncomment the # Multisite phase 2 section, and add your multisite subdomain(s) to EXTRA_DOMAINS (beware the weird syntax..)
  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>