Skip to content

Generate Dockerfile and docker-compose for your application

License

Notifications You must be signed in to change notification settings

fjbanares/dockerize-stack

 
 

Repository files navigation

Dockerize Stack for development

This it's a generator for generate Dockerfile and docker-compose for your application for development

Why?

For build a quick stack for your development enviroment docker is the best tool you can use, but you need to configure the Dockerfile docker-compose, persisted database data, set the entrypoint...

This generator help you to have a basic template for your stack; focusing on develepment enviroment.

Install

gem install dockerize-stack

Stacks available

  • Rails 5.1 (Ruby)
  • Symfony (PHP)
  • Phoenixframework (Elixir)
  • Django (Python)
  • Express (Node)

Usage

dockerize-stack rails

This script ask you:

  • Ruby version
  • Database type

example files generate:

/docker
--development
----Dockerfile
----entrypoint.sh
/.dockerignore
/docker-compose.yml
/config/database-docker.yml

TODO

  • Add phoenix generator
  • Solve use rails generator in container
  • Add integrations with all database types rails new supported ([mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc])
  • Integrate Build with private repository in the generator

About

Generate Dockerfile and docker-compose for your application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 50.9%
  • HTML 45.8%
  • Shell 3.3%