Dockerfile and Docker compose
This commit is contained in:
19
config/database.yml.docker
Normal file
19
config/database.yml.docker
Normal file
@ -0,0 +1,19 @@
|
||||
default: &default
|
||||
adapter: postgresql
|
||||
pool: 16
|
||||
username: <%= ENV['POSTGRES_USER'] %>
|
||||
password: <%= ENV['POSTGRES_PASSWORD'] %>
|
||||
host: db
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
database: codeocean_development
|
||||
|
||||
production:
|
||||
<<: *default
|
||||
database: codeocean_production
|
||||
|
||||
test:
|
||||
<<: *default
|
||||
database: codeocean_test
|
||||
|
Reference in New Issue
Block a user