Compare commits

...

9 Commits

Author SHA1 Message Date
kawaiipunk ffab553f00 Merge branch 'main' into add-mariadb-healthcheck 2026-06-03 20:18:06 +00: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
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
kawaiipunk fab9f10f7b Add MariaDB healthcheck to db service 2026-06-02 23:34:49 +01:00
3 changed files with 12 additions and 1 deletions
+5
View File
@@ -43,8 +43,13 @@ AUTHENTIK_ID_NAME=authentik_example_com_wordpress_id_v1 # the same as in authen
## Running WP-CLI
You can either run using `abra app cmd`:
`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
+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() {
+6
View File
@@ -78,6 +78,12 @@ services:
secrets:
- db_password
- db_root_password
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-u", "root", "-p$$(cat /run/secrets/db_root_password)", "--silent"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
deploy:
labels:
backupbot.backup: "${ENABLE_BACKUPS:-true}"