Skip to content

Commit

Permalink
add Dockerfile; set better Postgres default config
Browse files Browse the repository at this point in the history
  • Loading branch information
vleurgat committed Nov 9, 2018
1 parent a5636c2 commit c8eb4ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added Dockerfile
Empty file.
2 changes: 1 addition & 1 deletion cmd/regstat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func main() {
var dockerConfigFile string
var equivRegistriesFile string
flag.StringVar(&port, "port", "3333", "the port number to listen on")
flag.StringVar(&pgConnStr, "pg-conn-str", "", "the Postgres connect string, e.g. \"host=host port=1234 user=user password=pw ...\"")
flag.StringVar(&pgConnStr, "pg-conn-str", "\"host=localhost port=5432 user=postgres sslmode=disable\"", "the Postgres connect string, e.g. \"host=host port=1234 user=user password=pw ...\"")
flag.StringVar(&dockerConfigFile, "docker-config", "", "the path to the Docker registry config.json file, used to obtain login credentials")
flag.StringVar(&equivRegistriesFile, "equiv-registries", "", "the path to the equiv-registries.json file, used to combine equivalent registries")
flag.Parse()
Expand Down

0 comments on commit c8eb4ec

Please sign in to comment.