Add GZIP compression to projects which don't natively support it

This commit is contained in:
Jake Howard 2020-09-18 12:42:36 +01:00
parent 092f12459e
commit 2bbc7c715f
Signed by: jake
GPG key ID: 57AFB45680EDD477
6 changed files with 6 additions and 1 deletions

View file

@ -28,7 +28,7 @@ services:
- traefik.http.routers.gitlab-pages.tls.domains[0].sans=*.pages.theorangeone.net
- traefik.http.services.gitlab-pages-gitlab-pages.loadbalancer.server.port=8080
- traefik.http.services.gitlab-pages-gitlab-pages.loadbalancer.server.scheme=http
- traefik.http.routers.plausible.middlewares=compress@file
- traefik.http.routers.gitlab-pages.middlewares=compress@file
ssh-server:
image: linuxserver/openssh-server:latest

View file

@ -21,6 +21,7 @@ services:
- traefik.enable=true
- traefik.http.routers.grafana.rule=Host(`grafana.jakehoward.tech`)
- traefik.http.routers.grafana.tls.certresolver=le
- traefik.http.routers.grafana.middlewares=compress@file
db:
image: postgres:12-alpine

View file

@ -17,6 +17,7 @@ services:
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.jakehoward.tech`)
- traefik.http.routers.homeassistant.tls.certresolver=le
- traefik.http.services.home-assistant-homeassistant.loadbalancer.server.port=8123
- traefik.http.routers.homeassistant.middlewares=compress@file
influxdb:
image: influxdb:1.8-alpine

View file

@ -11,3 +11,4 @@ services:
- traefik.enable=true
- traefik.http.routers.gotify.rule=Host(`gotify.jakehoward.tech`)
- traefik.http.routers.gotify.tls.certresolver=le
- traefik.http.routers.gotify.middlewares=compress@file

View file

@ -23,3 +23,4 @@ services:
- traefik.enable=true
- traefik.http.routers.jellyfin.rule=Host(`media.jakehoward.tech`)
- traefik.http.routers.jellyfin.tls.certresolver=le
- traefik.http.routers.jellyfin.middlewares=compress@file

View file

@ -15,6 +15,7 @@ services:
- traefik.enable=true
- traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)
- traefik.http.routers.tt-rss.tls.certresolver=le
- traefik.http.routers.tt-rss.middlewares=compress@file
depends_on:
- db
tmpfs: