HugoMods
官方Docker 应用程序 from Florian Dambrine's Repository
概述
Build and deploy Hugo static websites on Unraid. Automatically clones your Git repository, installs dependencies, and builds your Hugo site. Perfect for generating static sites for blogs, documentation, landing pages, and more with Hugo's blazing-fast static site generation. Features persistent storage for source code and node_modules, automatic dependency management, and support for custom Hugo configurations. Simply provide your Git repository URL and the site will be built in the /src/public directory.
运行时参数
- 网络
bridge- 特权
- false
- 额外参数
--entrypoint=/bin/sh
模板配置
Git Repository URLVariable
Public git repository containing your Hugo website (required).
- 目标
- GIT_REPO
Base URLVariable
Base URL for Hugo site (used in build). Example: / or /mysite/
- 目标
- BASE_URL
- 默认值
- /
- 价值
- /
Node EnvironmentVariable
Node environment.
- 目标
- NODE_ENV
- 默认值
- development
- 价值
- development
Website Source CodePathrw
Persistent Hugo source directory. Repo is cloned here on first start.
- 目标
- /src
- 默认值
- /mnt/user/appdata/hugomods/src
- 价值
- /mnt/user/appdata/hugomods/src
Hugo Config DirectoryPathrw
Hugo configuration directory. Create config/_default/hugo.toml to override settings. See https://gohugo.io/configuration/introduction/#configuration-directory
- 目标
- /src/config
- 默认值
- /mnt/user/appdata/hugomods/config
- 价值
- /mnt/user/appdata/hugomods/config
node_modules CachePathrw
Persist node_modules to avoid reinstalling on every restart.
- 目标
- /src/node_modules
- 默认值
- /mnt/user/appdata/hugomods/node_modules
- 价值
- /mnt/user/appdata/hugomods/node_modules
下载统计数据
2,159,696
下载总数
150,651
本月
172,441
平均每月
长期下载总量
加载图表...
详细信息
在Unraid 上运行 HugoMods 。
HugoMods 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。