{"id":13458954,"url":"https://github.com/strapi-community/strapi-tool-dockerize","last_synced_at":"2025-05-14T19:09:31.566Z","repository":{"id":43942022,"uuid":"511828367","full_name":"strapi-community/strapi-tool-dockerize","owner":"strapi-community","description":"Easy add support for docker to your strapi project","archived":false,"fork":false,"pushed_at":"2025-03-25T14:21:02.000Z","size":1426,"stargazers_count":588,"open_issues_count":25,"forks_count":35,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-06T15:16:22.445Z","etag":null,"topics":["docker","docker-compose","hacktoberfest","node","node-js","strapi","strapi4"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/strapi-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":"Eventyret","open_collective":"strapi"}},"created_at":"2022-07-08T08:54:52.000Z","updated_at":"2025-04-26T12:21:41.000Z","dependencies_parsed_at":"2023-01-31T21:40:12.637Z","dependency_job_id":"c4958a2b-0d03-4b90-980b-30660e1c94cc","html_url":"https://github.com/strapi-community/strapi-tool-dockerize","commit_stats":{"total_commits":150,"total_committers":7,"mean_commits":"21.428571428571427","dds":0.06666666666666665,"last_synced_commit":"773157982a119af44743813428e5bf4f56c3b7f4"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi-community%2Fstrapi-tool-dockerize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi-community%2Fstrapi-tool-dockerize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi-community%2Fstrapi-tool-dockerize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strapi-community%2Fstrapi-tool-dockerize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strapi-community","download_url":"https://codeload.github.com/strapi-community/strapi-tool-dockerize/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254209859,"owners_count":22032897,"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","hacktoberfest","node","node-js","strapi","strapi4"],"created_at":"2024-07-31T09:01:00.201Z","updated_at":"2025-05-14T19:09:30.212Z","avatar_url":"https://github.com/strapi-community.png","language":"JavaScript","funding_links":["https://github.com/sponsors/Eventyret","https://opencollective.com/strapi","https://opencollective.com/strapi/projects/strapi-tool-dockerize"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003e@Strapi-community/dockerize\u003c/h1\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/strapi-community/strapi-tool-dockerize/main/.github/assets/banner.png\"\u003e\n\n\u003cp\u003eAdd docker support for a Strapi Project with ease 🚀\u003c/p\u003e\n\n_Feel free to buy [@Eventyret](https://www.github.com/Eventyret) a ☕️ if this tool was helpful_ [Open Collective](https://opencollective.com/strapi/projects/strapi-tool-dockerize)\n\n\u003cp\u003e\n  \u003ca href=\"https://discord.strapi.io\"\u003e\n    \u003cimg src=\"https://img.shields.io/discord/811989166782021633?color=blue\u0026label=strapi-discord\" alt=\"Strapi Discord\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/@strapi-community/dockerize\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@strapi-community/dockerize/latest.svg\" alt=\"NPM Version\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/@strapi-community/dockerize\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/@strapi-community/dockerize\" alt=\"Monthly download on NPM\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n## Table of Contents \u003c!-- omit in toc --\u003e\n\n- [🚦 Current Status](#-current-status)\n- [✨ Usage](#-usage)\n  - [🤖 Using CLI Arguments](#-using-cli-arguments)\n  - [🧹 Resetting project](#-resetting-project)\n- [🚀 Features](#-features)\n- [🐳 Docker-compose support](#-docker-compose-support)\n- [🎗 Contributing](#-contributing)\n- [⭐️ Show your support](#️-show-your-support)\n- [🔗 Links](#-links)\n- [🌎 Community support](#-community-support)\n- [🙋‍♀️ Authors](#️-authors)\n- [🙋‍♂️ Contributors (Thank you 🙏)](#️-contributors-thank-you-)\n- [🔖 License](#-license)\n\n## 🚦 Current Status\n\nThis package is currently under development and should be consider **STABLE** in terms of state. I/We are currently accepting contributions and/or dedicated contributors to help develop and maintain this package.\n\nFor more information on contributing please see [the contrib message below](#contributing).\n\n## ✨ Usage\n\n```bash\nnpx @strapi-community/dockerize\n```\n\nYou can also call it directly with arguments\n\n```bash\nnpx @strapi-community/dockerize new --dbclient=mysql --dbhost=localhost --dbport=1234 --dbname=strapi --dbusername=strapi --dbpassword=strapi --projecttype=js --packagemanager=yarn --usecompose=false --env=both\n```\n\n### 🤖 Using CLI Arguments\n\nPlease note the `new` keyword is required for this to take effect.\n\n```markdown\nnpx @strapi-community/dockerize\n--dbtype=\u003cdbtype\u003e\n--dbhost=\u003cdbhost\u003e\n--dbport=\u003cdbport\u003e\n--dbname=\u003cdbname\u003e\n--dbuser=\u003cdbuser\u003e\n--dbpassword=\u003cdbpassword\u003e\n--type=\u003ctype\u003e\n--packagemanager=\u003cpackagemanager\u003e\n--useCompose=\u003cuseCompose\u003e\n--env=\u003cenv\u003e\n```\n\n```markdown\n| 💻 Command     | 💬 Value                                | 🦄 Type | 🐲 Default    |\n| -------------- | --------------------------------------- | ------- | ------------- |\n| dbtype         | `postgres` \\| `mysql` \\| `mariadb`      | String  | `postgres`    |\n| dbhost         |                                         | String  | `localhost`   |\n| dbport         | `5432` \\| `3306`                        | Number  | `5432`        |\n| dbname         |                                         | String  | `strapi`      |\n| dbuser         |                                         | String  | `strapi`      |\n| dbpassword     |                                         | String  | `strapi`      |\n| type           | `ts` \\| `js`                            | String  | `js`          |\n| packagemanager | `yarn` \\| `npm`                         | String  | `yarn`        |\n| useCompose     | `true` \\| `false`                       | Boolean | `false`       |\n| env            | `development` \\| `production` \\| `both` | String  | `development` |\n```\n\n### 🧹 Resetting project\n\n```bash\nnpx @strapi-community/dockerize reset\n```\n\n_Note_ that **RESET** will delete the `config/env` folder with all of it's content\n\n## 🚀 Features\n\n- Easy add support for docker\n- Auto detects `yarn` or `npm` in your project\n- Build a docker-compose file\n\n## 🐳 Docker-compose support\n\n- Postgres 14.5\n- MySQL 8\n- MariaDB 10\n\n## 🎗 Contributing\n\nI/We are actively looking for contributors, maintainers, and others to help shape this package. As this plugins sole purpose within the Strapi community is to be used by other developers and plugin maintainers to get fast responses time.\n\nIf interested please feel free to email the lead maintainer Simen at: simen@dehlin.dev or ping `Cookie Monster#6725` on Discord.\n\n## ⭐️ Show your support\n\nGive a star if this project helped you.\nFeel free to buy [@Eventyret] a ☕️ if it was helpful. [Open Collective](https://opencollective.com/strapi/projects/strapi-tool-dockerize)\n\n## 🔗 Links\n\n- [NPM package](https://www.npmjs.com/package/@strapi-community/dockerize)\n- [GitHub repository](https://github.com/strapi-community/strapi-tool-dockerize)\n\n## 🌎 Community support\n\n- For general help using Strapi, please refer to [the official Strapi documentation](https://strapi.io/documentation/).\n- For support with this plugin you can DM me in the Strapi Discord [channel](https://discord.strapi.io/).\n\n## 🙋‍♀️ Authors\n\n- [@Eventyret / Simen Daehlin](https://github.com/Eventyret)\n\n## 🙋‍♂️ Contributors (Thank you 🙏)\n\n- [@DimitriGilbert](https://github.com/DimitriGilbert)\n- [@YEK-PLUS](https://github.com/YEK-PLUS)\n- [@RobbieClarken](https://github.com/RobbieClarken)\n- [@nevotheless](https://github.com/nevotheless)\n- [@SudeepPatel-0812](https://github.com/SudeepPatel-0812)\n\n## 🔖 License\n\nSee the [LICENSE](./LICENSE.md) file for licensing information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi-community%2Fstrapi-tool-dockerize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrapi-community%2Fstrapi-tool-dockerize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrapi-community%2Fstrapi-tool-dockerize/lists"}