Skip to content

NodeJS script and Docker files to create MySQL/MongoDB backed AngularJS/Bootstrap web application

License

Notifications You must be signed in to change notification settings

Sotera/firmament

Repository files navigation

firmament

Provides a simplified configuration of interconnected Docker containers

  • Provides a straigtforward mechanism to deploy Node Express apps into Docker containers
  • Aliases and simplifies common Docker commands to make deploying, linking, and managing Docer containers easier.
  • Composed of Node and Bash scripts utilizing API's from Docker, GIT, and Strongloop.

How To Get firmament

$ wget https://github.com/sotera/firmament/raw/master/install-scripts/prep-ubuntu14.04.sh
$ sudo chmod 700 prep-ubuntu14.04.sh
$ sudo su
$ ./prep-ubuntu14.04.sh
exit
$ git clone https://github.com/Sotera/firmament
$ cd firmament/install-scripts
$ ./prep-client.sh
>> 3 for using vim
$ sudo usermod -aG docker ubuntu

close your terminal and log back in for changes to take effect.

Usage

  • List available commands $ f --help
  • Firmament pulls required modules as needed or you can get all required modules at once. $ f init
  • Create a template of lined Docker Containers (from ~/firmament). $ f m t
  • Edit the template to create the containers you wish with links to the repositores that host your apps.
  • Build the containers. $ f m b
  • Firmament aliases Docker as 'd'
  • $ docker ps == $ f d ps
  • $ f d sh 5 will shell into Docker Container #5 from the ps results.

About

NodeJS script and Docker files to create MySQL/MongoDB backed AngularJS/Bootstrap web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published