Skip to content

Need to writelist the Rails DB #1030

@fiveNinePlusR

Description

@fiveNinePlusR

File: compose/rails.md

To be able to connect to the database you need to add a whitelist inside ApplicationController.rb

module Myapp
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.
    config.web_console.whitelisted_ips = '172.18.0.0/16'
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/composeRelates to docker-compose.yml spec or docker-compose binarylifecycle/locked

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions