generated from sambuc/tpl.docker-compose
Træfik reverse proxy
Requirements
- Docker
- docke-compose
- htpasswd (from apache)
Quick start
-
Create a user to restrict access to the Træfik dashboard:
htpasswd -nb MyAwesomeUser MyAwesomePassword > conf/users/traefik.htpasswd -
Copy
env.exampleto.env -
Edit
.envto adapt the Fully Qualified Domain Name (FQDN) as well as CERT_EMAIL which are used for the Træfik dashboard and let's encrypt validation e-mail. -
Create the network used by Træfik to talk to the internal services:
docker network create --attachable --internal proxy # Default shared proxy network docker network create --attachable --internal proxy_home # For Main services docker network create --attachable --internal proxy_infra # For Network infrastructure -
Start Træfik:
docker-compose up -d
Description