add support for traefik
This commit is contained in:
parent
3412a79f21
commit
a02f3ff655
1 changed files with 11 additions and 2 deletions
|
@ -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`)
|
||||
|
|
Reference in a new issue