autokueng-data

command module
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

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:

  • /opt/autokueng-data

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL