Skip to content

Commit

Permalink
#325 - Make Database configurable
Browse files Browse the repository at this point in the history
- add env variable for dbname in datasource url
  • Loading branch information
michael-82 committed Aug 14, 2024
1 parent d037dd8 commit dcc0007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spring:
application:
name: codex-feasibility-gui-backend
datasource:
url: jdbc:postgresql://${FEASIBILITY_DATABASE_HOST:localhost}:${FEASIBILITY_DATABASE_PORT:5432}/codex_ui
url: jdbc:postgresql://${FEASIBILITY_DATABASE_HOST:localhost}:${FEASIBILITY_DATABASE_PORT:5432}/${FEASIBILITY_DATABASE_DBNAME:codex_ui}
username: ${FEASIBILITY_DATABASE_USER:codex-postgres}
password: ${FEASIBILITY_DATABASE_PASSWORD:codex-password}
driverClassName: org.postgresql.Driver
Expand Down

0 comments on commit dcc0007

Please sign in to comment.