Add working configuration for how to run a slim Hugo container.
This commit is contained in:
20
Config/HugoExample/docker-compose.example.yml
Normal file
20
Config/HugoExample/docker-compose.example.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
# 2025-08-13
|
||||
# Configuration for running a Hugo website pulled from Git.
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: hugo
|
||||
build:
|
||||
context: ./
|
||||
network: host
|
||||
restart: always
|
||||
ports:
|
||||
- 8013:1313
|
||||
environment:
|
||||
- REPO=$REPO
|
||||
deploy:
|
||||
mode: global
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.10'
|
||||
memory: 32M
|
Reference in New Issue
Block a user