Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.27 KB

README.md

File metadata and controls

44 lines (37 loc) · 1.27 KB

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