aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorVeikka Kähkönen <insiding@gmail.com>2017-10-17 21:17:13 +0300
committerVeikka Kähkönen <insiding@gmail.com>2017-10-17 21:17:13 +0300
commit53cc538e20fcac9454f9ec61082161933d1de867 (patch)
treef30a405bf4c233fd63fca01cc35e5bc5b2570cde /docker-compose.yml
parent5fdc772599a8c695697f388b635679af07a24a2e (diff)
Document the COMMIT_HASH environment variable / Docker argument
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index b845967..eee38c5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -5,6 +5,10 @@ services:
context: "."
dockerfile: "jekyll.docker"
args:
+ # Set this environment variable to the value of the latest
+ # Git commit hash to rebuild only the relevant parts of the
+ # Jekyll image.
+ # E.g. COMMIT_HASH=hash_here docker-compose up --build
- COMMIT_HASH=${COMMIT_HASH}
volumes_from:
- nginx