This it's a generator for generate Dockerfile and docker-compose for your application for development
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.
gem install dockerize-stack
- Rails 5.1 (Ruby)
- Symfony (PHP)
- Phoenixframework (Elixir)
- Django (Python)
- Express (Node)
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
- 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