autokueng-data
The api to upload images and other data and serve them via http for the autokueng-api
Installation
Env Variables
# must be the same as in autokueng backend api
export JWT_SECRET_KEY=<secret>
export URL=http://localhost:9000
Persistent storage
The data is stored in the following directory:
Garbage collection
Send a request to /garbage-collect
to trigger garbage collection.
In the body add the images you want to keep:
{
"activeImages": [
"image1.jpg",
"image2.jpg",
"image3.jpg"
]
}
Docker
docker run -d \
--name autokueng-data \
--mount source=autokueng-data,target=/opt/autokueng-data \
-p 9000:9000 \
janlauber/autokueng-data:latest