-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
43 lines (37 loc) · 1.04 KB
/
compose.yaml
File metadata and controls
43 lines (37 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: hugo
x-daemonless:
title: "Hugo"
icon: ":simple-hugo:"
category: "Development"
description: "Fast and flexible static site generator — builds your entire site at creation time rather than on each request."
upstream_url: "https://github.com/gohugoio/hugo"
web_url: "https://gohugo.io/"
freshports_url: "https://www.freshports.org/www/gohugo/"
user: "bsd"
mlock: false
upstream_binary: true
appjail: true
docs:
env:
PUID: "User ID for the application process"
PGID: "Group ID for the application process"
TZ: "Timezone for the container"
HUGO_BASEURL: "Hostname (and path) to the root"
volumes:
/app: "Website source code (mount your repo here)"
ports:
1313: "Dev Server Port"
services:
hugo:
image: ghcr.io/daemonless/hugo:latest
container_name: hugo
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
- HUGO_BASEURL=http://localhost:1313
volumes:
- /path/to/my-site:/app
ports:
- "1313:1313"