##Copy files Add these files to project root:
- Dockerfile
- .dockerignore
- docker.conf
- docker-compose.yml
Change .env to new database (ip to Docker env)
Add hosts so that the site will find its way
sudo nano /etc/hosts
Change deploy with dipwpe
composer require deployer/deployer
composer require ekandreas/dipwpe
Check for EP_HOST in .env and set it to docker-machine-ip
Run docker-compose up -d
Run docker-compose stop
Run docker-compose rm
To initialize the environment:
dep init development
To pull from production:
dep pull production
To deploy to production:
dep deploy production