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: services:
hugo: hugo:
image: klakegg/hugo:0.101.0 image: klakegg/hugo:0.101.0
command: server command: server
volumes: volumes:
- ".:/src" - ".:/src"
ports: restart: always
- "1313:1313" networks:
- traefik
labels:
- traefik.http.routers.pizzeria.rule=Host(`pizzapim.nl`)