Loco Jobs Admin provides simple and efficient background processing for the Loco framework. It supports background queues for both Postgres and SQLite databases.
docker build -t loco-job-admin .2. Once the image is built, run the container and access the admin interface at http://127.0.0.1:8080/:
docker run -it -p 8080:5150 -e LOCO_ENV=development loco-job-adminTo configure the database connection, set the appropriate Docker environment variables:
WORKER_KIND: Choose between Postgres or Sqlite.CONNECTION_STRING: Provide the worker's database connection string.
Example:
docker run -it -p 8080:5150 -e WORKER_KIND=Postgres -e CONNECTION_STRING="postgres://user:password@localhost/dbname" loco-job-admin