21 lines
480 B
YAML
21 lines
480 B
YAML
version: "3"
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
hugo:
|
|
image: klakegg/hugo:0.101.0
|
|
container_name: pizzeria
|
|
command: server
|
|
volumes:
|
|
- ".:/src"
|
|
restart: always
|
|
networks:
|
|
- 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
|