Backend for new QL-Browser & WebDashboard
Python 3.5.2+
To run the server, please execute the following from the root directory:
pip3 install -r requirements.txt
cd app
uvicorn run:app
- adjust all
/configpaths inapp/run.py(remember to undo this change beofore commiting to github) - For development purposes, you can use
uvicorn run:app --reloadfor hot-reloading.
API is available at:
http://localhost:8080/ui/
Your Swagger definition lives here:
http://localhost:8080/swagger.json
version: "3.8"
services:
api:
image: ghcr.io/igmk/api:latest
container_name: api
volumes:
- /data/obs/api_config/default:/config:ro
- /data/obs:/data/obs:ro
ports:
- "8000:8000"
restart: unless-stoppedAll Config Files for the API are stored at:
/data/obs/api_config