updates to command scripts
This commit is contained in:
14
compose.yaml
14
compose.yaml
@@ -3,12 +3,14 @@ name: andrewamason.tech
|
|||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: cgr.dev/chainguard/hugo:latest
|
image: cgr.dev/chainguard/hugo:latest
|
||||||
command: hugo new site quickstart
|
command: >
|
||||||
command: cd quickstart
|
sh -c hugo new site quickstart &&
|
||||||
command: git init
|
cd quickstart &&
|
||||||
command: git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder
|
git init &&
|
||||||
command: echo 'theme = "hugo-coder"' >> hugo.toml
|
git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder &&
|
||||||
command: hugo serve --bind 0.0.0.0 --port 8080
|
echo 'theme = "hugo-coder"' >> hugo.toml &&
|
||||||
|
hugo serve --bind 0.0.0.0 --port 8080"
|
||||||
|
|
||||||
#command: server -D
|
#command: server -D
|
||||||
volumes:
|
volumes:
|
||||||
- nfs_hugo_src:/src
|
- nfs_hugo_src:/src
|
||||||
|
|||||||
Reference in New Issue
Block a user