Add traefik (#1916)
* Add mosquitto broker * Add documetation to mosquitto * Add traefik
This commit is contained in:

committed by
Shao Yu-Lung (Allen)

parent
d27f4368ee
commit
eb0c941313
@ -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:
|
||||
|
Reference in New Issue
Block a user