You'll need:
docker
docker-machine
docker-compose
git
pow
dotenv.sh
deploy.sh
Within your project you must have:
- a
development.yml
andproduction.yml
fordocker-compose
- optionally a
Dockerfile
- a
.env
file with the variables needed for the application and other services - a
bin/start
script for customized application startup
Choose a custom port with 5 digits to be assigned to your application. Remember to write it to your .env
file.
Grab the IP for the docker-machine
and setup a local development name with pow
:
# ~/.pow/my-application
http://192.168.99.100:55001/
Use Git to version your project. The last commit hash will be used as version tag for the application.