docker: add traefik labels
This commit is contained in:
parent
603fbdab27
commit
520e535e47
@ -10,6 +10,15 @@ services:
|
|||||||
- URL_DOWNLOAD=${URL_DOWNLOAD}
|
- URL_DOWNLOAD=${URL_DOWNLOAD}
|
||||||
networks:
|
networks:
|
||||||
- internal_network
|
- internal_network
|
||||||
|
labels:
|
||||||
|
- 'traefik.enable=true'
|
||||||
|
- 'traefik.backend=proxy'
|
||||||
|
- 'traefik.docker.network=web'
|
||||||
|
- 'traefik.http.routers.proxy.rule=Host(`${WEB_HOST}`)'
|
||||||
|
- 'traefik.http.routers.proxy.entrypoints=web-secure'
|
||||||
|
- 'traefik.http.routers.proxy.tls.certresolver=le'
|
||||||
|
- 'traefik.port=80'
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal_network:
|
internal_network:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user