add support for anubis #23
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=anubis"
|
||||
Reference in New Issue
Block a user