Welcome to mirror list, hosted at ThFree Co, Russian Federation.

docker-compose.yml « exampleSite - github.com/mazgi/hugo-theme-techlog-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1b3cec739d480f5bda57c9740871cebd9252cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: "3.8"
services:
  website:
    build:
      context: Dockerfile.d/hugo-static-website
      args:
        UID: ${UID:-0}
        GID: ${GID:-0}
    working_dir: /techlog-simple/exampleSite
    command: >
      hugo server
      --baseURL http://$BIND_IP_ADDR:1313
      --bind 0.0.0.0
      --buildDrafts
      --themesDir="../.."
    volumes:
      - ../:/techlog-simple
    ports:
      - "${BIND_IP_ADDR:-127.0.0.1}:1313:1313"