An open API service indexing awesome lists of open source software.

https://github.com/mygento/workplace

Magento Docker workplace for local development
https://github.com/mygento/workplace

docker magento magento2 mygento

Last synced: 12 months ago
JSON representation

Magento Docker workplace for local development

Awesome Lists containing this project

README

          

# Workplace
Combined && Fast && Easy solution to create Magento workplace

## Config Schema

in ```package.json``` create ```workplace``` key
based on full list of posibilities.

Here full list of default options:

```js
{
...
"workplace": {
"type": "magento2", // magento2 | symfony
"php": {
"image": "ghcr.io/mygento/php:8.1-full" // php docker image
},
"nginx": {
"image": "luckyraul/nginx:backports", // nginx docker image
"port": 8081 // nginx listen port
},
"mysql": {
"image": "mygento/mysql:5.7", // docker mysql image
"port": 3306 //mysql listen port
},
"varnish": {
"image": null, //docker varnish image
"port": 8082 //varnish listen port
},
"redis": {
"image": null, //docker redis image
"port": 6379 //docker redis image
},
"elasticsearch": {
"image": null, //docker elasticsearch image
"port": 5900 //elasticsearch listen port
},
"clickhouse": {
"image": null, //docker clickhouse image
"port": 8123 //clickhouse listen port
},
"magento2": {
"theme": [
"app/design/frontend/XXX/yyy/web" // relative path to theme web folder
],
"lint": [], // additional globs to lint
}
}
...
}
```

Override by custom config in ```.workplace/config.local.json```

```js
{
...
"php": {
"image": "ghcr.io/mygento/php:8.1-debug"
},
"nginx": {
"port": 8082
},
...
}
```