add support for anubis #23

Open
amras wants to merge 1 commits from anubis-support into main
3 changed files with 17 additions and 0 deletions
+3
View File
@@ -34,6 +34,9 @@ HUGO_ENVIRONMENT=production
#AUTH_SITE_STAGING_ENABLED=1
#SECRET_AUTH_PASSWORD_VERSION=v1
# Anubis protection (don't forget to configure traefik)
#COMPOSE_FILE="$COMPOSE_FILE:compose.anubis.yml"
# Private repository deployment
#COMPOSE_FILE="$COMPOSE_FILE:compose.private.yml"
#COMPOSE_FILE="$COMPOSE_FILE:compose.private.staging.yml"
+7
View File
@@ -65,6 +65,13 @@ Create a webhook which triggers the endpoint <your-domain>/deploy on push events
Basic <bas64-coded-token>
```
### Anubis Protection
To enable Anubis scraper protection for your site,
- First [enable Anubis on traefik](https://git.coopcloud.tech/coop-cloud/traefik#blocking-scrapers-with-anubis)
- then - in your parasol config - uncomment the line after `# Anubis protection`.
### Use a Private Repository
Enable the following lines in your `.env` file:
+7
View File
@@ -0,0 +1,7 @@
---
version: "3.8"
services:
app:
deploy:
labels:
- "traefik.http.routers.${STACK_NAME}.middlewares=anubis"