Skip to content

Commit

Permalink
Merge pull request #44 from sapawarga/enhancement/docker-setting-env
Browse files Browse the repository at this point in the history
remove test port
  • Loading branch information
setiadijoe authored May 25, 2021
2 parents 1fcd148 + 4c8ece6 commit 757d025
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ func init() {
func NewConfig() (defConfig *Config, err error) {
defConfig = &Config{}
appEnv := os.Getenv(`APP_ENV`)
// appGRPCPort, _ := strconv.Atoi(os.Getenv(`APP_GRPC_PORT`))
appGRPCPort := 9005
// appHTTPPort, _ := strconv.Atoi(os.Getenv(`APP_HTTP_PORT`))
appHTTPPort := 9006
appGRPCPort, _ := strconv.Atoi(os.Getenv(`APP_GRPC_PORT`))
appHTTPPort, _ := strconv.Atoi(os.Getenv(`APP_HTTP_PORT`))
debugString := os.Getenv(`APP_DEBUG`)
debug := false

Expand Down

0 comments on commit 757d025

Please sign in to comment.