Sha256: decdf4fe1f806407c0d12fa4761999a52eb7f8a7e9b987bd8a1083534475f984

Contents?: true

Size: 1.21 KB

Versions: 14

Compression:

Stored size: 1.21 KB

Contents

module DockerizeRails
  module Templates
    ROOT_TEMPLATES = %W[
      #{Constants::DOCKERIGNORE_FILE_NAME}
      #{Constants::DOCKER_COMPOSE_FILE_NAME}
      #{Constants::SHELL_SCRIPT_FILE_NAME}
    ].freeze

    RAILS_TEMPLATES = %w[Dockerfile entry-point.sh secrets.yml].freeze
    MYSQL_TEMPLATES = %W[Dockerfile #{Constants::SQL_DIRECTORY_NAME}/initdb-mysql.sql].freeze
    POSTGRES_TEMPLATES = %w[Dockerfile].freeze

    ROOT_DIRECTORIES = %W[#{Constants::CONFIG_DIRECTORY_NAME}].freeze
    RAILS_DIRECTORIES = %W[#{Constants::CONFIG_DIRECTORY_NAME}/#{Constants::RAILS_DIRECTORY_NAME}].freeze
    MYSQL_DIRECTORIES = %W[
      #{Constants::CONFIG_DIRECTORY_NAME}/#{Constants::MYSQL_DIRECTORY_NAME}
      #{Constants::CONFIG_DIRECTORY_NAME}/#{Constants::MYSQL_DIRECTORY_NAME}/#{Constants::SQL_DIRECTORY_NAME}
      #{Constants::CONFIG_DIRECTORY_NAME}/#{Constants::MYSQL_DIRECTORY_NAME}/#{Constants::DATA_DIRECTORY_NAME}
    ].freeze
    PG_DIRECTORIES = %W[
      #{Constants::CONFIG_DIRECTORY_NAME}/#{Constants::PG_DIRECTORY_NAME}
      #{Constants::CONFIG_DIRECTORY_NAME}/#{Constants::PG_DIRECTORY_NAME}/#{Constants::DATA_DIRECTORY_NAME}
    ].freeze

    EXECUTABLES = %W[#{Constants::SHELL_SCRIPT_FILE_NAME}].freeze
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dockerize_rails-1.2.1.beta.4 lib/dockerize_rails/templates.rb
dockerize_rails-1.2.1.beta.3 lib/dockerize_rails/templates.rb
dockerize_rails-1.2.1.beta.2 lib/dockerize_rails/templates.rb
dockerize_rails-1.2.0.beta.1 lib/dockerize_rails/templates.rb
dockerize_rails-1.1.0.beta.3 lib/dockerize_rails/templates.rb
dockerize_rails-1.1.0.beta.2 lib/dockerize_rails/templates.rb
dockerize_rails-1.1.0.beta.1 lib/dockerize_rails/templates.rb
dockerize_rails-1.0.4.beta.1 lib/dockerize_rails/templates.rb
dockerize_rails-1.0.3.beta.6 lib/dockerize_rails/templates.rb
dockerize_rails-1.0.3.beta.5 lib/dockerize_rails/templates.rb
dockerize_rails-1.0.3.beta.4 lib/dockerize_rails/templates.rb
dockerize_rails-1.0.3.beta.3 lib/dockerize_rails/templates.rb
dockerize_rails-1.0.3.beta.2 lib/dockerize_rails/templates.rb
dockerize_rails-1.0.3.beta.1 lib/dockerize_rails/templates.rb