mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
Add .env file for docker-compose
This commit is contained in:
@@ -15,5 +15,9 @@ module App
|
||||
# Application configuration can go into files in config/initializers
|
||||
# -- all .rb files in that directory are automatically loaded after loading
|
||||
# the framework and any gems in your application.
|
||||
|
||||
def name
|
||||
ENV["APP_NAME"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -19,8 +19,8 @@ default: &default
|
||||
encoding: unicode
|
||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||
host: db
|
||||
username: postgres
|
||||
password:
|
||||
username: <%= ENV['POSTGRES_USER'] %>
|
||||
password: <%= ENV['POSTGRES_PASSWORD'] %>
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
@@ -82,5 +82,3 @@ test:
|
||||
production:
|
||||
<<: *default
|
||||
database: app_production
|
||||
username: app
|
||||
password: <%= ENV['APP_DATABASE_PASSWORD'] %>
|
||||
|
||||
Reference in New Issue
Block a user