26 lines
727 B
YAML
26 lines
727 B
YAML
version: "3.9"
|
|
services:
|
|
gitbook:
|
|
image: marcpartensky/gitbook
|
|
# image: billryan/gitbook
|
|
# image: yanqd0/gitbook
|
|
restart: unless-stopped
|
|
# volumes:
|
|
# - ../data/gitbook:/gitbook
|
|
environment:
|
|
# BOOK_URL: https://github.com/marcpartensky/docker
|
|
BOOK_URL: https://github.com/marcpartensky/markdown
|
|
networks:
|
|
- caddy
|
|
deploy:
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.gitbook.rule: Host(`gitbook.marcpartensky.com`)
|
|
traefik.http.routers.gitbook.entrypoints: websecure
|
|
traefik.http.routers.gitbook.tls.certresolver: tls
|
|
traefik.http.services.gitbook.loadbalancer.server.port: 4000
|
|
|
|
networks:
|
|
caddy:
|
|
external: true
|