Files
traefik/README.md
2021-04-17 12:50:09 +00:00

31 lines
683 B
Markdown

# Træfik reverse proxy
## Requirements
* Docker
* docke-compose
* htpasswd (from apache)
## Quick start
1. Create a user to restrict access to the Træfik dashboard:
```sh
htpasswd -nb MyAwesomeUser MyAwesomePassword > conf/users/traefik.htpasswd
```
2. Create the network used by Træfik to talk to the internal services:
```sh
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
```
3. Start Træfik:
```sh
docker-compose up -d
```