Skip to content

Commit 4d21f4a

Browse files
committed
Don't set DATABASE_HOST by default
This allows the application to connect to the database over a Unix socket, and is also no longer needed by CI. Jira-Issue: MAV-6379 Jira-Issue: MAV-6706
1 parent 15c557d commit 4d21f4a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

config/database.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ end_to_end:
1818
test:
1919
<<: *default
2020
database: manage_vaccinations_test<%= ENV['TEST_ENV_NUMBER'] %>
21-
# Needed by CI server
22-
host: <%= ENV.fetch("DATABASE_HOST", "localhost") %>
21+
host: <%= ENV.fetch("DATABASE_HOST", "") %>
2322
username: <%= ENV.fetch("DATABASE_USER", "") %>
2423
password: <%= ENV.fetch("DATABASE_PASSWORD", "") %>
2524
staging:

0 commit comments

Comments
 (0)