{"id":22688611,"url":"https://github.com/javanile/docker-compose-job","last_synced_at":"2026-04-30T01:40:20.636Z","repository":{"id":89152397,"uuid":"185763860","full_name":"javanile/docker-compose-job","owner":"javanile","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-18T14:54:18.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-04T16:50:37.939Z","etag":null,"topics":["cicd","docker-compose","jobs","taskrunner","tasks"],"latest_commit_sha":null,"homepage":"https://github.com/javanile/docker-compose-job","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javanile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2019-05-09T08:59:58.000Z","updated_at":"2021-09-03T12:28:43.000Z","dependencies_parsed_at":"2023-06-14T04:26:36.304Z","dependency_job_id":null,"html_url":"https://github.com/javanile/docker-compose-job","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fdocker-compose-job","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fdocker-compose-job/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fdocker-compose-job/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fdocker-compose-job/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javanile","download_url":"https://codeload.github.com/javanile/docker-compose-job/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207509,"owners_count":20740723,"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":["cicd","docker-compose","jobs","taskrunner","tasks"],"created_at":"2024-12-10T00:15:13.389Z","updated_at":"2026-04-30T01:40:20.630Z","avatar_url":"https://github.com/javanile.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\n\u003ca href=\"https://www.javanile.org/hackathon/\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/javanile/hackathon/refs/heads/main/assets/images/devops-hackathon-banner.svg\" /\u003e\n\u003c/a\u003e\n\n\n\u003c/div\u003e\n\n---\n\n# Docker Compose Job\n\nThe smart way to write tasks/scripts/jobs into your `docker-compose.yml` file\n\n### Usage\n\nDeclare your Jobs or Tasks into `docker-compose.yml` files as follow\n\n```yml\n## docker-compose.yml\nversion: '3'\nservices:  \n  php:\n    image: php:8      \n  db:\n    image: mysql:8\n  \n  ## --------------\n  ## Jobs and Tasks\n  ## --------------\n  \n  ## Creating database\n  create-database:\n    image: javanile/mysql-job\n    command:\n      - mysql -e \"CREATE DATABASE mydb\"\n      - rm -fr /etc/oldfiles\n  \n  ## Backup all files\n  backup-files:\n    image: javanile/bash-job\n    command:\n      - zip -u backup.zip ./files\n```\n\nNow use this simple commands to run your jobs\n\n```shell\ndocker-compose run create-database\n```\n\n```shell\ndocker-compose run backup-files\n```\n\n### Contributing\n\nThank you for considering contributing to this project! The contribution guide can be found in the [CONTRIBUTING.md](CONTRIBUTING.md).\n\n### Code of Conduct\n\nIn order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](CONTRIBUTING.md).\n\n### Security Vulnerabilities\n\nIf you discover a security vulnerability within Laravel, please send an e-mail to Francesco Bianco via [bianco@javanile.org](mailto:bianco@javanile.org). All security vulnerabilities will be promptly addressed.\n\n### License\n\nThis project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fdocker-compose-job","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavanile%2Fdocker-compose-job","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fdocker-compose-job/lists"}