index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2020-04-21 9:52:34.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2020-04-21 9:52:34.0 +00:00:00
commit
0767071cd838ee191a4ad315e6eced6e3a412b1c [patch]
tree
57efc4134eafca0ae8b12387636e39927ba6d9ff
parent
8a5cf798ea0e2bc6bbb8174fe59a0a7a2c73bcc0
download
0767071cd838ee191a4ad315e6eced6e3a412b1c.tar.gz

docs: docker stack notes about assets directory functionality



Diff

 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"