a little more docs

This commit is contained in:
2022-05-27 12:22:01 +03:00
parent 082823a3fa
commit 8ad952bf78

View File

@@ -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;
}
```