Docker development environment for staging Magento 1 & Magento 2 on Alpine 3.6
2.7K
The docker containers within this repository were build for development purposes only and should NOT be used in production. This product is licensed under the MIT LICENSE and comes with no warranty, use at your own risk.
Dockerfile linksredis redis/Dockerfilevarnish varnish/Dockerfilenginx nginx/Dockerfilemysql mysql/Dockerfilephp-fpm-5.6 php-fpm-5.6/Dockerfilephp-cli-5.6 php-cli-5.6/Dockerfilephp-cron-5.6 php-cron-5.6/Dockerfilephp-fpm-7.1 php-fpm-7.1/Dockerfilephp-cli-7.1 php-cli-7.1/Dockerfilephp-cron-7.1 php-cron-7.1/Dockerfilephp-fpm-7.2 php-fpm-7.2/Dockerfilephp-cli-7.2 php-cli-7.2/Dockerfilephp-cron-7.2 php-cron-7.2/DockerfileAll docker images, except for the php-cli containers, have the ability to tail their container's relevant logs if the VERBOSE=true flag is passed as an environmental variable. Passing it to the container is optional since by default VERBOSE=false. It is explicitly stated within the sample docker-compose.yml file for documentation purposes only. Please also note that you will only be able to see the verbose output of these containers if you run docker-compose without the detach flag, i.e. docker-compose up.
Below are the possible environment variable that can be passed to the mysql docker container with some sample values. If non are passed, then only the root user will exist with the default password of mysql.
MYSQL_ROOT_PASSWORD=mysqlMYSQL_USER_NAME=magento_db_userMYSQL_USER_PASSWORD=password123MYSQL_DATABASE=magentoWhen NGINX starts, it copies the appropriate configuration file so it can be used. This configuration file is determined by the environment variable below. If no variable is passed then the below value is set.
MAGENTO_VERSION=2If any issues come up or any feature are requested, please feel free to open up an issue through Github. The corresponding repository can be found here. For all other inquiries, feel free to email us at [email protected].
Content type
Image
Digest
Size
52.9 MB
Last updated
about 6 years ago
docker pull jetrails/magento-alpine:varnish-6