Compare commits

...
2 Commits
Author SHA1 Message Date
fauno d41b6ecf87 fix: set the domain on healthchecks
continuous-integration/drone/pr Build is failing
2026-11-27 01:06:23 -03:00
fauno 5c8cb7f391 feat: anubis support 2026-11-27 01:04:29 -03:00
4 changed files with 17 additions and 1 deletions
+3
View File
@@ -95,3 +95,6 @@ SECRET_ADMIN_PASSWORD_VERSION=v1
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp-2223.yml"
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp-2224.yml"
#COMPOSE_FILE="$COMPOSE_FILE:compose.ftp-2225.yml"
# Anubis
#COMPOSE_FILE="$COMPOSE_FILE:compose.anubis.yml"
+6
View File
@@ -103,3 +103,9 @@ Make a `.tar.gz` backup of the site's `wp-content` dir and a `.sql.gz` backup of
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"`
## Protect Wordpress from scrapers with Anubis
Uncomment the Anubis compose file from the `.env` file and re-deploy the
app. Don't forget to actually [enable Anubis on the Traefik app
too](https://recipes.coopcloud.tech/traefik)!
+7
View File
@@ -0,0 +1,7 @@
---
version: "3.8"
services:
app:
deploy:
labels:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirectscheme,${STACK_NAME}-redirecthostname,anubis"
+1 -1
View File
@@ -38,7 +38,7 @@ services:
depends_on:
- db
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
test: ["CMD", "curl", "-f", "http://localhost", "--header", "Host: $DOMAIN"]
interval: 30s
timeout: 10s
retries: 10