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
- Host: GitHub
- URL: https://github.com/mygento/workplace
- Owner: mygento
- Created: 2016-02-09T19:43:08.000Z (over 10 years ago)
- Default Branch: npm
- Last Pushed: 2023-02-07T16:23:25.000Z (over 3 years ago)
- Last Synced: 2025-07-03T07:10:01.875Z (about 1 year ago)
- Topics: docker, magento, magento2, mygento
- Language: JavaScript
- Homepage:
- Size: 168 KB
- Stars: 8
- Watchers: 8
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
},
...
}
```