use config to start gunicorn

This commit is contained in:
2018-01-24 14:18:09 +02:00
parent 9f392b4d0b
commit 997ba56678
2 changed files with 9 additions and 2 deletions

View File

@@ -1,9 +1,12 @@
# FLEES
# FLEES
a very small file sharing website
- configure with data/shares.json
- configure with data/config.json
- uid = user id for new files
- workers = parallel processes (i.e. one upload reserves a process)
- timeout = timeout for processes, single upload might take a long time!
- generate shares with utils/create-share.py
- proxy with nginx:
```
@@ -16,3 +19,6 @@ location /flees/ {
client_max_body_size 8G;
}
```
- configure local port in `docker-compose.yaml`