specify src & cache directories

This commit is contained in:
Andrew Amason
2024-12-30 16:57:00 -05:00
parent e47ec06d03
commit 57e5f52b9e

View File

@@ -2,7 +2,7 @@ name: andrewamason.tech
services: services:
website: website:
image: cgr.dev/chainguard/hugo:latest image: cgr.dev/chainguard/hugo:latest
command: serve --bind 0.0.0.0 --port 8080 -c /src/config.toml command: serve --bind 0.0.0.0 --port 8080 --contentDir /src --cacheDir /tmp/hugo_cache
volumes: volumes:
- nfs_hugo_src:/src - nfs_hugo_src:/src
- nfs_hugo_cache:/tmp/hugo_cache - nfs_hugo_cache:/tmp/hugo_cache