aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.hugo/docker-compose.yaml
blob: 979902326e4579ff4e29b205e26e4ea1bd8eb85e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: "3"
services:
  cdocs-init:
    image: "klakegg/hugo:ext-alpine"
    command: "mod get github.com/alex-shpak/hugo-book@v0.0.0-20230424134111-d86d5e70c7c0"
    volumes:
      - "../docs:/src"
  cdocs-build:
    image: "klakegg/hugo:ext-alpine"
    depends_on:
      - "cdocs-init"
    volumes:
      - "../docs:/src"
      - "../csit.infra.dash:/csit.infra.dash"
  cdocs-run:
    image: "klakegg/hugo:ext-alpine"
    command: "server --minify"
    depends_on:
      - "cdocs-init"
    volumes:
      - "../docs:/src"
    ports:
      - "1313:1313"