{"id":25948781,"url":"https://github.com/nikitachalykh/scheduler_task_service","last_synced_at":"2026-04-11T02:43:24.035Z","repository":{"id":280589637,"uuid":"942485376","full_name":"NikitaChalykh/scheduler_task_service","owner":"NikitaChalykh","description":"Scheduler task service","archived":false,"fork":false,"pushed_at":"2025-03-04T09:21:06.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T09:29:18.616Z","etag":null,"topics":["docker","docker-compose","postgresql","pydantic-v2","python3","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NikitaChalykh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-04T07:15:42.000Z","updated_at":"2025-03-04T09:21:09.000Z","dependencies_parsed_at":"2025-03-04T09:29:39.553Z","dependency_job_id":"16610749-0d4a-41ea-8e52-e19a669dc10b","html_url":"https://github.com/NikitaChalykh/scheduler_task_service","commit_stats":null,"previous_names":["nikitachalykh/scheduler","nikitachalykh/scheduler_service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fscheduler_task_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fscheduler_task_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fscheduler_task_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fscheduler_task_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikitaChalykh","download_url":"https://codeload.github.com/NikitaChalykh/scheduler_task_service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241837028,"owners_count":20028296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","postgresql","pydantic-v2","python3","redis"],"created_at":"2025-03-04T11:22:27.862Z","updated_at":"2026-04-11T02:43:24.030Z","avatar_url":"https://github.com/NikitaChalykh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Periodic shared task execution service\n=====\n\nProject description\n----------\nThe project utilizes a shared task queue in Redis and supports multiple independent workers for easy scaling.\n\nThe service is deployed in the following Docker containers:\n\nPostgreSQL database\nRedis database\nOne or more workers for executing scheduled tasks\nError logging is configured, and task execution history, including statuses, is stored in the database.\n\nSystem requirements\n----------\n\n* Python 3.12+\n* Docker\n* Works on Linux\n\nTechnology stack\n----------\n\n* Python 3.12+\n* SQLAlchemy 2.0.38\n* alembic 1.14.1\n* pydantic 2.10.6\n* Postgres 15.2\n* Redis 7.2.0\n* Docker, Docker Compose\n\nInstalling the project from the repository\n----------\n1. Clone the repository:\n```bash\ngit clone git@github.com:NikitaChalykh/scheduler_task_service.git\n\ncd scheduler_task_service # Go to the directory with the project\n```\n\n2. Create the ```.env``` file using ```env.example``` as a template\n\n3. Installing and running the service in a container:\n```bash\ndocker compose up -d # To run one worker\n\ndocker compose up --scale scheduler=2 -d # To run multiple workers (e.g. two)\n```\n\n4. Viewing logs:\n```bash\ndocker exec -it scheduler-service log # Logs when running one worker\n\ndocker exec -it scheduler-service_1 log # Logs when running multiple workers (specify worker number)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitachalykh%2Fscheduler_task_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikitachalykh%2Fscheduler_task_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitachalykh%2Fscheduler_task_service/lists"}