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:
|
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`)
|
||||||
|
|
Reference in a new issue