Introduce homer for browser's landing page.

This commit is contained in:
2022-08-24 06:08:53 +02:00
parent eb8b4a3475
commit a73fe2aa9a

View File

@@ -0,0 +1,32 @@
version: "3.9"
networks:
proxy:
external: true
volumes:
homer:
name: homer
services:
homer:
image: b4bz/homer
restart: unless-stopped
container_name: homer
volumes:
- homer:/www/assets
labels:
- "traefik.enable=true"
- "traefik.http.routers.homer.entrypoints=web"
- "traefik.http.routers.homer.rule=Host(`homer.fam-steinle.de`)"
- "traefik.http.routers.homer.middlewares=homer"
- "traefik.http.middlewares.homer.redirectscheme.scheme=https"
- "traefik.http.routers.homer-secure.entrypoints=websecure"
- "traefik.http.routers.homer-secure.rule=Host(`homer.fam-steinle.de`)"
- "traefik.http.routers.homer-secure.service=homer-secure"
- "traefik.http.routers.homer-secure.tls=true"
- "traefik.http.routers.homer-secure.tls.certresolver=infomaniak"
- "traefik.http.services.homer-secure.loadbalancer.server.port=8080"
networks:
- proxy