mirror of
https://github.com/fiatjaf/khatru.git
synced 2025-04-02 08:58:08 +02:00
string name update
changed DATABASE_URL to POSTGRESQL_DATABASE. because on Dolu89 Dockerfile this variable is used: https://gist.github.com/Dolu89/5d98cb929ef7d27c59bf01b14767cda2 So was confused why relay container can't connect to postgres container. POSTGRESQL_DATABASE name make sense because you also have here SQL lite database
This commit is contained in:
parent
7370c1bbef
commit
e1b384093b
2
main.go
2
main.go
@ -17,7 +17,7 @@ type Settings struct {
|
||||
Host string `envconfig:"HOST" default:"0.0.0.0"`
|
||||
Port string `envconfig:"PORT" default:"7447"`
|
||||
|
||||
PostgresDatabase string `envconfig:"DATABASE_URL"`
|
||||
PostgresDatabase string `envconfig:"POSTGRESQL_DATABASE"`
|
||||
SQLiteDatabase string `envconfig:"SQLITE_DATABASE"`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user