Add traefik (#1916)

* Add mosquitto broker
* Add documetation to mosquitto
* Add traefik
This commit is contained in:
Luis Coutinho
2019-02-09 11:25:21 +00:00
committed by Shao Yu-Lung (Allen)
parent d27f4368ee
commit eb0c941313
6 changed files with 136 additions and 1 deletions

View File

@ -1331,6 +1331,24 @@ services:
aliases:
- fetchmail
### TRAEFIK #########################################
traefik:
build:
context: ./traefik
command: --docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "${TRAEFIK_HOST_HTTP_PORT}:80"
- "${TRAEFIK_HOST_HTTPS_PORT}:443"
networks:
- frontend
- backend
labels:
- traefik.backend=traefik
- traefik.frontend.rule=Host:monitor.localhost
- traefik.port=8080
### MOSQUITTO Broker #########################################
mosquitto:
build: