Provides containerized Magento Commerce.
docker-compose up -d
Use environment variables for the configuration.
Available parameters along with the default values listed below.
MAGENTO_BASE_URL: http://shop.local
MAGENTO_DB_HOST: database
MAGENTO_DB_USER: shop
MAGENTO_DB_PASSWORD: secret
MAGENTO_DB_NAME: shop
MAGENTO_ADMIN_FIRSTNAME: Average
MAGENTO_ADMIN_LASTNAME: Joe
MAGENT_ADMIN_EMAIL: average.joe@example.org
MAGENTO_ADMIN_USER: admin
MAGENTO_ADMIN_PASSWORD: secret
MAGENTO_LANGUAGE: de_DE
MAGENTO_CURRENCY: EUR
MAGENTO_TIMEZONE: Europe/Berlin
MAGENTO_USE_REWRITES: 1
MAGENTO_BACKEND_FRONTNAME: admin_nimda
MAGENTO_2FA_ENABLE: 'false'
MAGENTO_SEARCH_ENGINE: elasticsearch7
MAGENTO_ELASTICSEARCH_HOSTNAME: search
MAGENTO_ELASTICSEARCH_PORT: 9200
MAGENTO_ELASTICSEARCH_ENABLE_AUTH: 'true'
MAGENTO_ELASTICSEARCH_USERNAME: elastic
MAGENTO_ELASTICSEARCH_PASSWORD: secret123
Run locally built image
docker-compose up
Rebuild image
docker-compose build
See the LICENSE.md file for details