From 0767071cd838ee191a4ad315e6eced6e3a412b1c Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Tue, 21 Apr 2020 11:52:34 +0200 Subject: [PATCH] docs: docker stack notes about assets directory functionality --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f7deffb..5868a17 100644 --- a/README.md +++ b/README.md @@ -120,10 +120,14 @@ services: - SERVER_NAME=my-server - SERVER_HOST=127.0.0.1 - SERVER_PORT=80 - - SERVER_ROOT=/html - - SERVER_ASSETS=./assets + - SERVER_ROOT=/public + # NOTE: + # For the server, assets directory is not relative to root. + # That's why, it's necessary to be explicit (prefer absolute paths). + # See release v1.8.0 for more details. + - SERVER_ASSETS=/public/assets volumes: - - ./some-dir-path:/html + - ./some-dir-path:/public labels: - "traefik.enable=true" - "traefik.frontend.entryPoints=https" -- libgit2 1.7.2