Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #79 Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Traefik
- 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
- Set up Docker Swarm and
abra abra app new traefikabra app config YOURAPPDOMAIN- be sure to changeDOMAINto something that resolves to your Docker swarm boxabra app deploy YOURAPPDOMAIN
Configuring basic auth
- Create the usersfile locally:
htpasswd -c usersfile <username> - Uncomment the Basic Auth section in your .env file
- Insert the secret: `abra app secret insert usersfile v1 -f usersfile
- 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.
- Use Gandi or OVH for DNS 🤡 (support for other providers can be easily added,
see the
legodocs. - Run
abra app config YOURAPPDOMAIN - Uncomment e.g.
ENABLE_GANDIand the relatedSECRET_.._VERSIONline, e.g.SECRET_GANDIV5_API_KEY_VERSION - Generate an API key for your provider
- Run
abra app secret insert YOURAPPDOMAIN SECRETNAME v1 SECRETVALUE, whereSECRETNAMEis from the compose file (e.g.compose.gandi-api-key.yml) e.g.gandiv5_api_keyandSECRETVALUEis 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.
- 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%