Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthingsym <thingsym@gmail.com>2021-03-08 14:30:33 +0300
committerthingsym <thingsym@gmail.com>2021-03-08 14:30:33 +0300
commit02b2177c049ef91999d7ef066c4c0b6c353cebfc (patch)
tree051121cd687394b0a5cdf9c97c98d24b49f09907
parentafa2ea0f78c0fdbf2599bada43ec43bee7e1f72f (diff)
chore: add docker-compose.yml for development environment
-rw-r--r--docker-compose.yml18
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