Some checks failed
Build and Release Docker Images / create-release (push) Has been skipped
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (push) Failing after 17m2s
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (push) Failing after 24m27s
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Failing after 22m5s
Task scheduler
also known as task
What is this?
This is a task runner/scheduler programs that will fire off various tasks. These tasks can be anything from an blog post import task to a RSS generator task. Additionally, there is task logs inside the database so that you can keep track of tasks when something goes wrong.
Things you should know
task
uses a .env
file at the root of the project. The file takes standard environment variables (like enviroment variables you would put into a .bashrc
or ad-hoc into your shell).
For task
to work properly, please make sure to first create the .env
file, then fill out the following environment variables:
BASE_URI_API
- needed for communicating withpublic
DATABASE_URL
- needed for communicating to PostgresREDIS_URL
- needed for communicating with the cache (Redis or Valkey)S3_ACCESS_KEY
- needed for Amazon S3 (or compatible services) storageS3_SECRET_KEY
- needed for Amazon S3 (or compatible services) storageS3_BUCKET
- needed for Amazon S3 (or compatible services) storage