Skip to content

Non-root Docker image running Alpine Linux and Traefik.

License

Notifications You must be signed in to change notification settings

demyxsh/traefik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

DEMYX TRAEFIK
USER demyx
ENTRYPOINT ["demyx-entrypoint"]
PORT 8080 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:https://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

About

Non-root Docker image running Alpine Linux and Traefik.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published