Categorygithub.com/demyxco/traefik
repository
0.0.0-20241214004018-c7f0cfb9e737
Repository: https://github.com/demyxco/traefik.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

traefik

demyxsh/traefik Code Size Repository Size Watches Stars Forks Docker Pulls Architecture Alpine Traefik Buy Me A Coffee Become a Patron!

Non-root Docker image running Alpine Linux and Traefik. Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components (Docker, Swarm mode, Kubernetes, Marathon, Consul, Etcd, Rancher, Amazon ECS, ...) and configures itself automatically and dynamically. Pointing Traefik at your orchestrator should be the only configuration step you need.

To properly utilize this image, please use Demyx.

Demyx Discord

Join us on Discord for latest news, faster support, or just chill.

Buy Me A Coffee

Support this project by buying coffee (please).

DEMYXTRAEFIK
USERdemyx
ENTRYPOINT["demyx-entrypoint"]
PORT8080 8081 8082

NOTICE

This repository has been moved to the organization demyxsh; please update the remote URL.

git remote set-url origin [email protected]:demyxsh/traefik.git

Usage

  • Since a non-root user can't access docker.sock, this image depends on my lockdown docker.sock proxy container.
  • DEMYX_ACME_EMAIL must be set or the container will exit.
# Start the docker.sock proxy container first
docker run -d \
--privileged \
--name=demyx_socket \
--network=demyx_socket \
-v /var/run/docker.sock:/var/run/docker.sock \
-e CONTAINERS=1 \
demyx/docker-socket-proxy

# Start Traefik container
docker run -d \
--name=traefik \
--network=demyx_socket \
-e DEMYX=/demyx \
-e DEMYX_CONFIG=/etc/demyx \
-e DEMYX_LOG=/var/log/demyx \
-e DEMYX_ENDPOINT=tcp://demyx_socket:2375 \
-e [email protected] \ # Required
-p 80:8081/tcp \
-p 80:8081/udp \
-p 443:8082/tcp \
-p 443:8082/udp \
-v traefik:/demyx \     # Point your acme.json storage to this directory (ex: /demyx/acme.json)
demyx/traefik

For more configurations, see Traefik's official documentations: https://docs.traefik.io.

Updates & Support

  • Auto built weekly on Saturdays (America/Los_Angeles)
  • Rolling release updates
  • For support: Discord