add web-ui (#3)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/python-api-server#3
This commit is contained in:
parent
47ab99f891
commit
8ad005c568
2 changed files with 6 additions and 0 deletions
|
@ -26,12 +26,18 @@ services:
|
|||
MAX_CONTENT_LENGTH: 10
|
||||
UPLOAD_DIRECTORY: /uploads
|
||||
AUTH_TOKEN: myuploadtoken
|
||||
ENABLE_WEBSERVER: true # if enabled a list of files can be viewed in a webbrowser (see screenshot)
|
||||
|
||||
volumes:
|
||||
uploads:
|
||||
|
||||
```
|
||||
|
||||
### ENABLE_WEBSERVER Screenshot
|
||||
|
||||
|
||||
![](./assets/screenshot_webui.png)
|
||||
|
||||
## API-Endpoints
|
||||
|
||||
- see [Flasgger](https://github.com/flasgger/flasgger): ``http://<host>:5040/apidocs/``
|
||||
|
|
BIN
assets/screenshot_webui.png
Normal file
BIN
assets/screenshot_webui.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Reference in a new issue