Data Source fails to account for erb in database.yml
And the configuration couldn't be overwritten.
For example:
production:
<<: *default
database: Database_production
host: <%= ENV['POSTGRES_PORT_5432_TCP_ADDR'] %>
port: <%= ENV['POSTGRES_PORT_5432_TCP_PORT'] %>
username: <%= ENV['POSTGRES_ENV_POSTGRES_USERNAME'] %>
password: <%= ENV['POSTGRES_ENV_POSTGRES_PASSWORD'] %>
This is a typical set up of docker.
请先登录再写评论。
deleted