File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ default: &default
20
20
# For details on connection pooling, see Rails configuration guide
21
21
# http://guides.rubyonrails.org/configuring.html#database-pooling
22
22
pool : <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
23
- username : <%= ENV.fetch('DATABASE_USER') { '' } %>
24
- password : <%= ENV.fetch('DATABASE_PASSWORD') { '' } %>
25
- host : <%= ENV.fetch('DATABASE_HOST') { '' } %>
26
- port : <%= ENV.fetch('DATABASE_PORT') { '' } %>
23
+ username : <%= ENV.fetch('DATABASE_USER') { 'postgres ' } %>
24
+ password : <%= ENV.fetch('DATABASE_PASSWORD') { 'password ' } %>
25
+ host : <%= ENV.fetch('DATABASE_HOST') { 'localhost ' } %>
26
+ port : <%= ENV.fetch('DATABASE_PORT') { '5432 ' } %>
27
27
28
28
development :
29
29
<< : *default
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ services:
16
16
depends_on :
17
17
- db
18
18
db :
19
- image : " postgres:10.4"
19
+ image : " postgres:10.4-alpine "
20
20
environment :
21
21
- " POSTGRES_USER=postgres"
22
22
- " POSTGRES_PASSWORD=password"
You can’t perform that action at this time.
0 commit comments