diff options
author | thingsym <thingsym@gmail.com> | 2021-03-08 14:30:33 +0300 |
---|---|---|
committer | thingsym <thingsym@gmail.com> | 2021-03-08 14:30:33 +0300 |
commit | 02b2177c049ef91999d7ef066c4c0b6c353cebfc (patch) | |
tree | 051121cd687394b0a5cdf9c97c98d24b49f09907 | |
parent | afa2ea0f78c0fdbf2599bada43ec43bee7e1f72f (diff) |
chore: add docker-compose.yml for development environment
-rw-r--r-- | docker-compose.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1143254 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + server: + image: klakegg/hugo:0.81.0-alpine + volumes: + - .:/hugo/themes/hugo-theme-techdoc + ports: + - 1313:1313 + working_dir: /hugo/themes/hugo-theme-techdoc/exampleSite + command: "server --bind 0.0.0.0 -wD --ignoreCache --themesDir ../.. --minify" + + node: + image: node:lts + volumes: + - .:/hugo/themes/hugo-theme-techdoc + working_dir: /hugo/themes/hugo-theme-techdoc + environment: + SHELL: /bin/bash |