Skip to content

Commit 7e8372b

Browse files
authored
Update docker.database.yml
1 parent b9d49f8 commit 7e8372b

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

config/docker.database.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
11
# This configuration is tailored for use with docker compose. See DOCKER.md for more information.
22

3-
development:
3+
<%= ENV['RAILS_ENV'] %>:
44
adapter: postgresql
5-
database: openstreetmap
6-
username: openstreetmap
7-
password: openstreetmap
8-
host: db
9-
encoding: utf8
10-
11-
# Warning: The database defined as 'test' will be erased and
12-
# re-generated from your development database when you run 'rake'.
13-
# Do not set this db to the same as development or production.
14-
test:
15-
adapter: postgresql
16-
database: osm_test
17-
username: openstreetmap
18-
password: openstreetmap
19-
host: db
5+
host: <%= ENV['WS_OSM_DB_HOST'] %>
6+
username: <%= ENV['WS_OSM_DB_USER'] %>
7+
password: <%= ENV['WS_OSM_DB_PASS'] %>
8+
database: <%= ENV['WS_OSM_DB_NAME'] %>
209
encoding: utf8

0 commit comments

Comments
 (0)