decentral1se a233438f80
Some checks failed
continuous-integration/drone/push Build is failing
Merge pull request 'Remove Default Timeout' (#79) from remove-default-timeout into master
Reviewed-on: #79
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
2026-01-03 14:32:02 +00:00
2026-01-01 20:33:36 +01:00
2026-01-03 15:31:32 +01:00
2020-06-17 08:23:01 +02:00
2025-12-29 10:11:53 -08:00
2025-08-13 19:05:05 +00:00
2022-03-26 23:49:10 +02:00
2021-12-13 13:56:36 +01:00
2022-01-06 09:50:35 +01:00
2021-08-07 14:24:39 +02:00
2021-06-10 12:36:54 +02:00
2021-06-05 14:23:58 +02:00
2021-06-05 14:23:58 +02:00
2026-01-03 15:31:32 +01:00
2020-06-17 08:30:44 +02:00
2025-11-20 17:50:32 +00:00

Traefik

Build Status

https://docs.traefik.io

  • Maintainer: @p4u1, @decentral1se, @javielico
  • Status: stable
  • Category: Utilities
  • Features: ?
  • Image: traefik, 4, upstream
  • Healthcheck: Yes
  • Backups: No
  • Email: N/A
  • Tests: 2
  • SSO: ? (Keycloak)

Basic usage

  1. Set up Docker Swarm and abra
  2. abra app new traefik
  3. abra app config YOURAPPDOMAIN - be sure to change DOMAIN to something that resolves to your Docker swarm box
  4. abra app deploy YOURAPPDOMAIN

Configuring basic auth

  1. Create the usersfile locally: htpasswd -c usersfile <username>
  2. Uncomment the Basic Auth section in your .env file
  3. Insert the secret: `abra app secret insert usersfile v1 -f usersfile
  4. Redploy your app: abra app deploy -f <domain>

Configuring wildcard SSL using DNS

Automatic certificate generation will Just Work™ for most recipes which use a fixed number of subdomains. For some recipes which need to work across arbitrary subdomains, like federatedwiki and go-ssb-room, you'll need to give Traefik access to your DNS provider so that it can carry out Letsencrypt DNS challenges.

  1. Use Gandi or OVH for DNS 🤡 (support for other providers can be easily added, see the lego docs.
  2. Run abra app config YOURAPPDOMAIN
  3. Uncomment e.g. ENABLE_GANDI and the related SECRET_.._VERSION line, e.g. SECRET_GANDIV5_API_KEY_VERSION
  4. Generate an API key for your provider
  5. Run abra app secret insert YOURAPPDOMAIN SECRETNAME v1 SECRETVALUE, where SECRETNAME is from the compose file (e.g. compose.gandi-api-key.yml) e.g. gandiv5_api_key and SECRETVALUE is the API key.
    • For Gandi, you can use either the deprecated API Key or a GandiV5 Personal Access Token, in which case use compose.gandi-personal-access-token.yml.
  6. Redeploy Traefik, using e.g. abra app deploy YOURAPPDOMAIN -f

Blocking scrapers with Anubis

Uncomment the lines on the Anubis section of the configuration. Set a domain name for the cookies and a domain that will serve Anubis redirection service. Optionally and for added security, set a list of the domain names for the apps that are going to be protected.

After deploying these changes, go to each recipe that supports Anubis and follow the process there. Enabling Anubis here is not enough for protection your apps.

Description
Edge router that makes publishing your services a fun and easy experience
https://github.com/traefik/traefik Readme GPL-3.0 1,008 KiB
Languages
Roff 56.5%
Shell 43.5%