docker ready
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"database": {
|
||||
"host": "binders.net",
|
||||
"host": "localhost",
|
||||
"port": "5432",
|
||||
"user": "ti1",
|
||||
"password": "W7zZTAkVeWs54zQGNka2KgZpusEa68CG",
|
||||
"password": "",
|
||||
"dbname": "ti1",
|
||||
"sslmode": "disable"
|
||||
},
|
||||
@@ -3,7 +3,6 @@ package config
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
)
|
||||
|
||||
@@ -54,7 +53,7 @@ func LoadConfig(file string) (Config, error) {
|
||||
if temp := os.Getenv("TEMP"); temp != "" {
|
||||
config.Temp = temp
|
||||
}
|
||||
log.Println("Temp value:", config.Temp)
|
||||
//log.Println("Temp value:", config.Temp)
|
||||
|
||||
return config, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user