mirror of https://github.com/escalate/hugo-split-theme.git

Felix Boerner
11.31.2024 33a58521ae8ec2c8f771eeb72bd2a3a0301e05e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
services:
  hugo:
    image: hugomods/hugo:latest
    volumes:
      - type: bind
        source: ../../../
        target: /src
    command: ["hugo", "server", "--environment=production", "--logLevel=info", "--bind=0.0.0.0", "--baseURL=http://hugo", "--disableLiveReload", "--source=/src/hugo-split-theme/tests/exampleSiteWithImage", "--themesDir=/src"]
    ports:
      - "1313:1313"
 
  sitespeed:
    image: sitespeedio/sitespeed.io:latest
    volumes:
      - type: bind
        source: .
        target: /sitespeed.io
    depends_on:
      - hugo
    command: ["--budget.configPath=budget.mobile.json", "--mobile", "urls.txt"]