back to traefik

This commit is contained in:
Yax 2021-11-01 19:10:42 +01:00
parent 9bd9f23d9e
commit 4c2bdef32e
16 changed files with 171 additions and 60 deletions

View file

@ -21,6 +21,9 @@ services:
restart: unless-stopped
expose:
- 80
environment:
- VIRTUAL_HOST=${HOST_BLOG}.${DOMAIN}
- LETSENCRYPT_HOST=${HOST_BLOG}.${DOMAIN}
labels:
- traefik.enable=true
- traefik.http.routers.blog.rule=Host(`${HOST_BLOG}.${DOMAIN}`)
- traefik.http.routers.blog.entrypoints=websecure
- traefik.http.routers.blog.tls=true
- traefik.http.services.blog.loadbalancer.server.port=80