startpage/docker-compose.yml

23 lines
1.1 KiB
YAML
Raw Normal View History

2021-06-22 12:11:25 +02:00
version: "3.7"
2021-06-22 12:06:23 +02:00
networks:
external:
external: true
services:
2021-06-22 12:38:10 +02:00
startpage:
2021-06-22 12:06:23 +02:00
build: ./
container_name: startpage
networks:
- external
labels:
- "traefik.enable=true"
2021-06-22 12:38:10 +02:00
- "traefik.http.routers.startpage.entrypoints=web-secure"
- "traefik.http.routers.startpage.rule=Host(`start.helcel.net`)"
- "traefik.http.routers.startpage.tls=true"
- "traefik.http.services.startpage.loadbalancer.server.port=8080"
2022-01-11 19:03:55 +01:00
- "traefik.http.routers.startpage.middlewares=startpage-cache"
- "traefik.http.middlewares.startpage-cache.plugin.souin.api.souin.enable=true"
- "traefik.http.middlewares.startpage-cache.plugin.souin.default_cache.headers=Content-Type"
- "traefik.http.middlewares.startpage-cache.plugin.souin.default_cache.ttl=900s"
2021-06-22 12:06:23 +02:00
- "traefik.docker.network=external"
restart: always