From 8ad952bf7815d7d4b98a8a1e64aabacc65ff4a45 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Fri, 27 May 2022 12:22:01 +0300 Subject: [PATCH] a little more docs --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e81edb5..1cf9d65 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ -Simle Image Labeler +# Simple Image Labeler For trainig machine learning algorithms. Setup: - Copy `example.env` as `.env` -- Start the docker instance - Write a data/config.json: ``` @@ -50,3 +49,17 @@ Setup: ] } ``` +- Start the docker instance +- Open the URL in http://localhost:$EXPOSE + +## With nginx: + +``` +location /labeler/ { + proxy_pass http://localhost:8088/; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Scheme $scheme; + proxy_set_header X-Script-Name /labeler; + } +```