From 1a1072c4954df96c950475e1f06dbc7674ae281f Mon Sep 17 00:00:00 2001 From: Laurent Bassin Date: Wed, 28 Nov 2018 12:49:09 +0100 Subject: [PATCH] Add magento 2 template --- templates/magento2.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 templates/magento2.yml diff --git a/templates/magento2.yml b/templates/magento2.yml new file mode 100644 index 0000000..e2ff905 --- /dev/null +++ b/templates/magento2.yml @@ -0,0 +1,38 @@ +name: 'Magento 2' +logo: 'https://cdn.worldvectorlogo.com/logos/magento-2.svg' +containers: + - image: 'php-fpm' + config: + general_name: 'php-fpm' + general_version: '7.1-fpm' + general_application: './' + php_extensions: 'bcmath,gd,intl,pdo_mysql,soap,xsl,opcache' + - image: 'nginx' + config: + general_name: nginx + general_port: 8080 + general_application: './' + nginx_max_upload: 2M + nginx_php: 'php-fpm' + nginx_index: pub + - image: 'adminer' + config: + general_name: adminer + general_port: 8081 + - image: 'mysql' + config: + general_name: mysql + general_port: 3306 + general_application: './docker/database' + connection_database_name: docker + connection_database_user: docker + connection_database_password: s3cr3t + connection_database_root: yes + - image: 'composer' + config: + general_name: composer + general_path: './' + - image: 'mailcatcher' + config: + general_name: 'mailcatcher' + general_port: '1080' \ No newline at end of file