docker compose for dapptools, postgraphile, eth-indexer and eth-server

This commit is contained in:
ramil
2020-09-06 12:32:11 +03:00
parent c098e07d51
commit 1d57f75dcf
11 changed files with 102 additions and 334 deletions
+3 -3
View File
@@ -60,12 +60,12 @@ func NewConfig() (*Config, error) {
c.DBConfig.Init()
wsPath := viper.GetString("watcher.wsPath")
wsPath := viper.GetString("server.wsPath")
if wsPath == "" {
wsPath = "127.0.0.1:8080"
}
c.WSEndpoint = wsPath
ipcPath := viper.GetString("watcher.ipcPath")
ipcPath := viper.GetString("server.ipcPath")
if ipcPath == "" {
home, err := os.UserHomeDir()
if err != nil {
@@ -74,7 +74,7 @@ func NewConfig() (*Config, error) {
ipcPath = filepath.Join(home, ".vulcanize/vulcanize.ipc")
}
c.IPCEndpoint = ipcPath
httpPath := viper.GetString("watcher.httpPath")
httpPath := viper.GetString("server.httpPath")
if httpPath == "" {
httpPath = "127.0.0.1:8081"
}