Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/markshust/magento2-stackfile

Stackfile for deploying a Magento 2 site to Tutum
https://github.com/markshust/magento2-stackfile

Last synced: 2 days ago
JSON representation

Stackfile for deploying a Magento 2 site to Tutum

Awesome Lists containing this project

README

        

# Tutum Stackfile for Magento 2

Please see blog post at http://mageinferno.com/blog/deploy-magento-2-digital-ocean-tutum for more details about this Stackfile.

```
app:
image: mageinferno/magento2-nginx:1.9.9-1
ports:
- '80:80'
links:
- php-fpm
- db
volumes_from:
- appdata
environment:
- VIRTUAL_HOST=PROJECTID-username.node.tutum.io

appdata:
image: tianon/true
volumes:
- /src

php-fpm:
image: mageinferno/magento2-php:7.0.1-fpm-2
links:
- db
volumes_from:
- appdata

db:
image: mariadb:10.0.23
ports:
- '3306:3306'
volumes_from:
- dbdata
environment:
- MYSQL_DATABASE=magento2
- MYSQL_PASSWORD=magento2
- MYSQL_ROOT_PASSWORD=magento2
- MYSQL_USER=magento2

dbdata:
image: tianon/true
volumes:
- /var/lib/mysql

setup:
image: mageinferno/magento2-php:7.0.1-fpm-2
command: /usr/local/bin/mage-setup
links:
- db
volumes_from:
- appdata
environment:
- M2SETUP_DB_HOST=db
- M2SETUP_DB_NAME=magento2
- M2SETUP_DB_USER=magento2
- M2SETUP_DB_PASSWORD=magento2
- M2SETUP_BASE_URL=http://PROJECTID-username.node.tutum.io/
- M2SETUP_ADMIN_FIRSTNAME=Admin
- M2SETUP_ADMIN_LASTNAME=User
- [email protected]
- M2SETUP_ADMIN_USER=magento2
- M2SETUP_ADMIN_PASSWORD=magento2
- M2SETUP_VERSION=2.0.0
- M2SETUP_USE_SAMPLE_DATA=true
- M2SETUP_USE_ARCHIVE=true
```