• Stars
    star
    531
  • Rank 83,526 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Easy add support for docker to your strapi project

@Strapi-community/dockerize

Add docker support for a Strapi Project with ease πŸš€

Feel free to buy @Eventyret a β˜•οΈ if this tool was helpful Open Collective

Strapi Discord NPM Version Monthly download on NPM

Table of Contents

🚦 Current Status

This 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.

For more information on contributing please see the contrib message below.

✨ Usage

npx @strapi-community/dockerize

You can also call it directly with arguments

npx @strapi-community/dockerize new --dbclient=mysql --dbhost=localhost --dbport=1234 --dbname=strapi --dbusername=strapi --dbpassword=strapi --projecttype=js --packagemanager=yarn --usecompose=false --env=both

πŸ€– Using CLI Arguments

Please note the new keyword is required for this to take effect.

npx @strapi-community/dockerize new
--projectname=<projectname>
--dbtype=<dbclient>
--dbhost=<dbhost>
--dbport=<dbport>
--dbname=<dbname>
--dbusername=<dbusername>
--dbpassword=<dbpassword>
--projecttype=<projecttype>
--packagemanager=<packagemanager>
--usecompose=<usecompose>
--env=<env>
| πŸ’» Command     | πŸ’¬ Value                                | πŸ¦„ Type | 🐲 Default    |
| -------------- | --------------------------------------- | ------- | ------------- |
| projectname    |                                         | String  | `mystrapi`    |
| dbclient       | `postgres` \| `mysql` \| `mariadb`      | String  | `postgres`    |
| dbhost         |                                         | String  | `localhost`   |
| dbport         | `5432` \| `3306`                        | Number  | `5432`        |
| dbname         |                                         | String  | `strapi`      |
| dbusername     |                                         | String  | `strapi`      |
| dbpassword     |                                         | String  |               |
| projecttype    | `ts` \| `js`                            | String  | `js`          |
| packagemanager | `yarn` \| `npm`                         | String  | `yarn`        |
| usecompose     | `true` \| `false`                       | Boolean | `false`       |
| env            | `development` \| `production` \| `both` | String  | `development` |

🧹 Resetting project

@strapi-community/dockerize reset

Note that RESET will delete the config/env folder with all of it's content

πŸš€ Features

  • Easy add support for docker
  • Auto detects yarn or npm in your project
  • Build a docker-compose file

🐳 Docker-compose support

  • Postgres 14.5
  • MySQL 8
  • MariaDB 10

πŸŽ— Contributing

I/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.

If interested please feel free to email the lead maintainer Simen at: [email protected] or ping Cookie Monster#6725 on Discord.

⭐️ Show your support

Give a star if this project helped you. Feel free to buy [@Eventyret] a β˜•οΈ if it was helpful. Open Collective

πŸ”— Links

🌎 Community support

πŸ™‹β€β™€οΈ Authors

πŸ™‹β€β™‚οΈ Contributors (Thank you πŸ™)

πŸ”– License

See the LICENSE file for licensing information.

More Repositories

1

awesome-strapi

A curated list of awesome things related to Strapi
JavaScript
1,500
star
2

strapi-provider-upload-google-cloud-storage

Google Cloud Storage Upload Provider for Strapi
JavaScript
209
star
3

strapi-plugin-transformer

A plugin for Strapi Headless CMS that provides the ability to transform the API request or response.
JavaScript
138
star
4

strapi-plugin-local-image-sharp

Dynamically resize, format and optimize images based on url modifiers.
JavaScript
64
star
5

jekyll-strapi

Jekyll plugin to retrieve content from any Strapi API.
Ruby
57
star
6

strapi-plugin-io

A plugin for Socket IO integration with Strapi CMS.
JavaScript
55
star
7

strapi-plugin-publisher

A plugin for Strapi Headless CMS that provides the ability provides the ability to easily schedule publishing and unpublishing of any content type.
JavaScript
47
star
8

strapi-tool-deployify

Easy deploy strapi to cloud platforms
JavaScript
45
star
9

strapi-plugin-slugify

A plugin for Strapi Headless CMS that provides the ability to auto slugify a field for any content type.
JavaScript
45
star
10

strapi-plugin-redis

Plugin used to centralize management of Redis connections in Strapi
JavaScript
41
star
11

strapi-plugin-website-builder

A plugin for Strapi Headless CMS that provides the ability to trigger website builds manually, periodically or through model events.
JavaScript
35
star
12

strapi-plugin-url-alias

🌐 Unique, autogenerated URL paths.
TypeScript
21
star
13

strapi-plugin-protected-populate

JavaScript
20
star
14

strapi-typed-fronend

make strapi types compatible with frontend
TypeScript
14
star
15

website

The repo for the website development competition of the @strapi-community.
TypeScript
11
star
16

strapi-plugin-notes

A plugin for Strapi Headless CMS that provides the ability to add notes to entity records.
JavaScript
9
star
17

strapi-plugin-measurement-protocol

Send data to Google Analytics with Measurement Protocol.
JavaScript
8
star
18

jekyll-blog

Simple Jekyll blog powered by Strapi
Ruby
7
star
19

strapi-plugin-multitenancy

JavaScript
6
star
20

eslint-config

Shared eslint configuration for Strapi v4 plugins & applications.
JavaScript
5
star
21

strapi-plugin-audit

Audit Log plugin for Strapi v4
JavaScript
3
star
22

strapi-plugin-search

A Strapi CMS plugin that provides search engine agnostic sync support
TypeScript
3
star
23

strapi-ai-bot

Discord bot used by the Strapi Community Discord Server
JavaScript
3
star
24

website-backend

JavaScript
1
star
25

docus-theme

Vue
1
star