frontpage/docker-compose.stable.yml

25 lines
990 B
YAML

version: '3'
services:
server:
image: localhost:5000/c0ntroller.de:latest
restart: always
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.website-stable.entrypoints=web"
- "traefik.http.routers.website-stable.rule=Host(`c0ntroller.de`)"
- "traefik.http.routers.website-stable.middlewares=http-to-https@file"
- "traefik.http.routers.website-stable-secure.entrypoints=websecure"
- "traefik.http.routers.website-stable-secure.rule=Host(`c0ntroller.de`)"
- "traefik.http.routers.website-stable-secure.middlewares=secHeaders@file"
- "traefik.http.routers.website-stable-secure.tls=true"
- "traefik.http.routers.website-stable-secure.tls.certresolver=le"
- "traefik.http.routers.website-stable-secure.service=website-stable"
- "traefik.http.services.website-stable.loadbalancer.server.port=3000"
networks:
traefik:
external: true