version: "3"
networks:
traefik:
external: true
services:
hugo:
image: klakegg/hugo:0.101.0
container_name: pizzeria
command: server
volumes:
- ".:/src"
restart: always
- traefik
labels:
- traefik.http.routers.pizzeria.entrypoints=websecure
- traefik.http.routers.pizzeria.rule=Host(`pizzapim.nl`)
- traefik.http.routers.pizzeria.tls=true
- traefik.http.routers.pizzeria.tls.certresolver=pizzapim