This is some Dockerfiles to make deployd up and running quickly for me.
#Prerequisite You need docker to be installed. For that purpose, see the docker installation guide.
The folder contains 3 Dockerfiles and a start.sh script.
I choose from the beginning to separate the dpd instance from the mongodb server. There is therefore a dedicated Dockerfile for mongodb.
The Dockerfile for dpd relies on the provided node docker machine.
Nothing really to do as everything is taken care by the start.sh script.
First start can be long as the machine images shall be built.
Just for you to know, the mongodb data is stored into a mongo_data folder and dpd data are stored in the dpd_data folder.
The public website is routed to http://localhost:3000. The dashboard is routed to your http://localhost:3000/dashboard
./start.sh my_\app_name
./start.sh -s
It is possible to launch in "interactive" mode the dpd instance. It means that you'll have access to the dpd instance shell, and you'll have to manually issue the dpd commands.
For instance:
./start.sh -i
# dpd create myapp
# cd myapp
# dpd -H generic_mongo -P 27017 -p 3000
Note : No need to provide application to start.sh in interactive mode.
- node : 0.12.3
- npm : 2.13
- deployd : 0.8.5
- mongodb : 2.6.9