add support for traefik

This commit is contained in:
Pim Kunis 2022-12-29 17:03:10 +01:00
parent 3412a79f21
commit a02f3ff655

View file

@ -1,8 +1,17 @@
version: "3"
networks:
traefik:
external: true
services:
hugo:
image: klakegg/hugo:0.101.0
command: server
volumes:
- ".:/src"
ports:
- "1313:1313"
restart: always
networks:
- traefik
labels:
- traefik.http.routers.pizzeria.rule=Host(`pizzapim.nl`)