diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | config_sample.json | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -DB=sslmode=disable dbname=lastfm +DB=$(shell cat config.json | jq '.Database') all: kill build start @@ -22,4 +22,4 @@ down: goose -dir migrations postgres "$(DB)" down status: - goose -dir migrations postgres "$(DB)" status + goose -dir migrations postgres $(DB) status diff --git a/config_sample.json b/config_sample.json index 62b9d0b..9df1653 100644 --- a/config_sample.json +++ b/config_sample.json @@ -7,7 +7,7 @@ }, "HashKey": "", "BlockKey": "", - "Database": "postgres://thibaut@localhost/lastfm?sslmode=disable", + "Database": "dbname=lastfm sslmode=disable", "Lfm": { "ApiKey": "", "SharedSecret": "" |
