Add working configuration for how to run a slim Hugo container.

This commit is contained in:
2025-08-14 12:30:25 -07:00
parent 1284fc3946
commit 0ca793423b
3 changed files with 59 additions and 0 deletions

View 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