Sha256: 58066bd0c4097e01c8802d62fda8d53d0a65467e0914319713351683d119a534
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
module DockerizeRails module Constants SHELL_SCRIPT_FILE_NAME = 'dockerw'.freeze DOCKERIZE_RAILS_CONFIG_FILE_NAME = '.dockerize.yml'.freeze DOCKER_COMPOSE_FILE_NAME = 'docker-compose.yml'.freeze DOCKERIGNORE_FILE_NAME = '.dockerignore'.freeze RAILS_DIRECTORY_NAME = 'rails'.freeze MYSQL_DIRECTORY_NAME = 'mysql'.freeze PG_DIRECTORY_NAME = 'postgresql'.freeze CONFIG_DIRECTORY_NAME = '.dockerized'.freeze DATA_DIRECTORY_NAME = 'data_dir'.freeze SQL_DIRECTORY_NAME = 'sql'.freeze DATABASE_HOST_LINKED = 'linked'.freeze DATABASE_HOST_REMOTE = 'remote'.freeze COMMANDS = { configure: { aliases: %I[configure c rc cr], help: "Generates '#{DOCKERIZE_RAILS_CONFIG_FILE_NAME}'".freeze, params: { :'--skip-desc' => 'generates shorter config file, skipping all descriptions'.freeze } }, dockerize: { aliases: %I[dockerize dc d], help: 'Generates docker config files'.freeze, params: { :'--config-test' => 'generates configurations to run tests.'.freeze } }, docker_info: { aliases: %I[docker_info di], help: 'Shows Docker information'.freeze }, undockerize: { aliases: %I[undockerize ud du u dd], help: 'Removes docker configurations'.freeze, params: { :'--purge' => "also removes #{Constants::DOCKERIZE_RAILS_CONFIG_FILE_NAME}".freeze } }, help: { aliases: %I[help h], help: 'prints this message'.freeze } }.freeze end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dockerize_rails-1.0.3.beta.6 | lib/dockerize_rails/constants.rb |
dockerize_rails-1.0.3.beta.5 | lib/dockerize_rails/constants.rb |
dockerize_rails-1.0.3.beta.4 | lib/dockerize_rails/constants.rb |