Skip to content

demyxsh/traefik

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

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 git@github.com: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 DEMYX_ACME_EMAIL=info@domain.tld \ # Required
-p 80:8081 \
-p 443:8082 \
-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: #demyx

About

Non-root Docker image running Alpine Linux and Traefik.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published