Compare commits

..

18 Commits

Author SHA1 Message Date
stevensting a2bf10a442 chore: publish 3.0.1+7.0.2 release 2026-07-21 14:44:35 +02:00
stevensting b64ab47051 Revert "block XML-RPC"
This reverts commit 3a4c8f9f22.
2026-07-21 14:24:54 +02:00
renovate-bot 96612a988a chore(deps): update wordpress docker tag to v7.0.2 (#72)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| wordpress | patch | `7.0.0` -> `7.0.2` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: coop-cloud/wordpress#72
Co-authored-by: Renovate Bot <renovate@coopcloud.tech>
Co-committed-by: Renovate Bot <renovate@coopcloud.tech>
2026-07-21 12:21:52 +00:00
simon 3a4c8f9f22 block XML-RPC 2026-07-21 10:39:26 +02:00
kawaiipunk d8bdf8588f Merge pull request 'chore(deps): update alpine docker tag to v3.24' (#71) from renovate/alpine-3.x into main
Reviewed-on: coop-cloud/wordpress#71
2026-06-18 15:19:44 +00:00
renovate-bot 36591c4d20 chore(deps): update alpine docker tag to v3.24 2026-06-09 21:25:28 +00:00
kawaiipunk f59fef5502 Merge pull request 'chore(deps): update alpine docker tag to v3.23' (#67) from renovate/alpine-3.x into main
Reviewed-on: coop-cloud/wordpress#67
2026-06-09 16:16:03 +00:00
kawaiipunk 6f23a5dfae Merge pull request 'Improve README' (#69) from kawaiipunk/wordpress:main into main
Reviewed-on: coop-cloud/wordpress#69
2026-06-03 20:43:00 +00:00
kawaiipunk 6d1b370cde merge upstream 2026-06-03 20:16:22 +00:00
kawaiipunk c5fb2ebaf3 Improve readme 2026-06-03 21:15:54 +01:00
kawaiipunk a34d7af280 revert 12d1e4e371
revert Merge pull request 'Improved README' (#68) from improve-readme into main

So sorry, that was a mistake!

Reviewed-on: coop-cloud/wordpress#68
2026-06-03 20:14:21 +00:00
kawaiipunk 12d1e4e371 Merge pull request 'Improved README' (#68) from improve-readme into main
Reviewed-on: coop-cloud/wordpress#68
2026-06-03 20:13:38 +00:00
kawaiipunk 8407a00942 Improved README 2026-06-03 21:12:32 +01:00
renovate-bot 90d34543db chore(deps): update alpine docker tag to v3.23 2026-06-03 19:24:48 +00:00
kawaiipunk 47fbba1505 Added additional instructions for running wp-cli 2026-06-03 20:08:20 +01:00
kawaiipunk 32062bff94 Merge pull request 'fix/3wc/wp-cli' (#64) from kawaiipunk/wordpress:fix/3wc/wp-cli into main
Reviewed-on: coop-cloud/wordpress#64
2026-06-03 18:55:12 +00:00
kawaiipunk c7f500c428 Merge pull request 'tests' (#62) from kawaiipunk/wordpress:tests into main
Reviewed-on: coop-cloud/wordpress#62
2026-06-03 18:36:32 +00:00
3wordchant 15dd324102 fix: $* instead of $@, seems to fix #49?
Closes #49
2026-06-02 23:37:23 +01:00
6 changed files with 49 additions and 46 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ name: test
steps:
- name: test
image: alpine:3.21
image: alpine:3.24
environment:
SHELLCHECK_OPTS: -s bash
commands:
+43 -41
View File
@@ -13,52 +13,18 @@ Coöp Cloud + [Wordpress](https://wordpress.org) = 🥳
* **Backups**: Yes
* **Email**: 3
* **Tests**: 2
* **SSO**: No
* **SSO**: 2
<!-- endmetadata -->
## 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.
@@ -74,9 +40,46 @@ Below are the instructions for the local relay.
`$DOMAIN` or in its `$EXTRA_SENDER_DOMAINS`
3. `abra app deploy <app-name>`
## WP-CLI
You can either run using `abra app cmd`:
```bash
abra app cmd <app-name> app wp -- core check-update --major
```
Or by entering the app shell:
1. `abra app run <app-name> app bash`
2. `su -s /bin/bash www-data -c "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/`
## Authentik Integration
Configure the following envs via `abra app config <app-name>`:
```bash
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`
## Tests
Run the full test suite:
Run the full test suite for this repository:
```sh
bash tests/run.sh
@@ -91,11 +94,9 @@ brew install shellcheck gomplate
```
Some tests skip gracefully if their dependencies are missing.
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
## Migrate from a non-Co-op Cloud WordPress install
## 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.
Make a `.tar.gz` backup of the site's `wp-content` dir and a `.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`
@@ -103,5 +104,6 @@ Make a .tar.gz backup of the site's wp-content dir and an .sql.gz backup of the
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"`
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
[cc-traefik]: https://git.autonomic.zone/coop-cloud/traefik
[cc-postfix-relay]: https://git.autonomic.zone/coop-cloud/traefik
[cc-postfix-relay]: https://git.autonomic.zone/coop-cloud/postfix-relay
+1 -1
View File
@@ -6,7 +6,7 @@ export HTACCESS_CONF_VERSION=v3
export USERS_CONF_VERSION=v1
wp() {
su -p www-data -s /bin/bash -c "/usr/local/bin/wp $@"
su -p www-data -s /bin/bash -c "/usr/local/bin/wp $*"
}
update() {
+1 -1
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: "wordpress:7.0.0"
image: "wordpress:7.0.2"
volumes:
- "wordpress:/var/www/html/"
environment:
+2 -2
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: "wordpress:7.0.0"
image: "wordpress:7.0.2"
volumes:
- "wordpress_content:/var/www/html/wp-content/"
networks:
@@ -62,7 +62,7 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.replacement=https://${DOMAIN}/$${2}"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.permanent=true"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
- "coop-cloud.${STACK_NAME}.version=3.0.0+7.0.0"
- "coop-cloud.${STACK_NAME}.version=3.0.1+7.0.2"
db:
image: "mariadb:12.3"
+1
View File
@@ -0,0 +1 @@
Bumps Wordpress version to 7.0.2 which fixes CVE-2026-63030