Files
my-website-v2/backend/task
Wyatt J. Miller 5396d44189
Some checks failed
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (pull_request) Failing after 23m10s
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (pull_request) Failing after 24m49s
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (pull_request) Failing after 20m2s
Build and Release Docker Images / create-release (pull_request) Has been skipped
added multi stage builds for oci containers
it should help from builds from failing in addition to slimming down the
artifact size
2025-12-21 15:36:00 -05:00
..
2025-07-19 15:13:53 -04:00
2025-07-19 22:26:52 -04:00
2025-07-16 22:02:41 -04:00

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 with public
  • DATABASE_URL - needed for communicating to Postgres
  • REDIS_URL - needed for communicating with the cache (Redis or Valkey)
  • S3_ACCESS_KEY - needed for Amazon S3 (or compatible services) storage
  • S3_SECRET_KEY - needed for Amazon S3 (or compatible services) storage
  • S3_BUCKET - needed for Amazon S3 (or compatible services) storage