Skip to content

davideccia/traefik-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Logo

Traefik reverse proxy template

An easy way use the Traefik reverse proxy with docker-compose.

Prerequisites

  • Docker

Steps

  • copy the traefik.yml.example to traefik.yml
    • edit it if needed
  • go into configuration folder and copy the dynamic.yml.example to dynamic.yml
    • edit it if needed (for example to edit the traefik password)
  • copy the docker-compose.yml.example to docker-compose.yml
    • edit it with all you want to deploy

Important

ACME

Create the acme.json file in the traefik dir, and change permissions running chmod 600 acme.json on it

Network

Be sure about the proxy network exists. If not:

docker network create proxy

Labels

Check all labels into docker-compose.yml and be sure you have configured it correctly.

DON'T MISS OUT THIS LABEL

The traefik.http.services.portainer.loadbalancer.server.port=xxxx label is where Traefik will internally redirect.

Used for

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published