startpage/docker-compose.yml
choelzl 08c7589bad
All checks were successful
continuous-integration/drone/push Build is passing
Moved to yarn & Alpine
2022-05-16 10:17:05 +02:00

23 lines
948 B
YAML

version: "3.7"
networks:
external:
external: true
services:
startpage:
build: ./
container_name: startpage
networks:
- external
labels:
- "traefik.enable=true"
- "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"
- "traefik.http.routers.startpage.middlewares=startpage-cache"
- "traefik.http.middlewares.startpage-cache.plugin.souin.api.souin"
- "traefik.http.middlewares.startpage-cache.plugin.souin.default_cache.headers=Content-Type"
- "traefik.http.middlewares.startpage-cache.plugin.souin.default_cache.ttl=900s"
- "traefik.docker.network=external"
restart: always