Skip to content

Commit

Permalink
Merge branch 'gostones-qiangli/fix-issue4'
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Dec 8, 2020
2 parents 8e0a51c + 32d0a39 commit 02072f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ipdr/main.go
Expand Up @@ -140,6 +140,7 @@ More info: https://github.com/miguelmota/ipdr`,
srv := server.NewServer(&server.Config{
Port: port,
Debug: !silent,
IPFSGateway: ipfsGateway,
TLSKeyPath: tlsKeyPath,
TLSCertPath: tlsCertPath,
})
Expand All @@ -152,6 +153,7 @@ More info: https://github.com/miguelmota/ipdr`,
serverCmd.Flags().UintVarP(&port, "port", "p", 5000, "The port for the Docker registry to listen on")
serverCmd.Flags().StringVarP(&tlsCertPath, "tlsCertPath", "", "", "The path to the .crt file for TLS")
serverCmd.Flags().StringVarP(&tlsKeyPath, "tlsKeyPath", "", "", "The path to the .key file for TLS")
serverCmd.Flags().StringVarP(&ipfsGateway, "ipfs-gateway", "g", "127.0.0.1:8080", "The readonly IPFS Gateway URL to pull the image from. Eg. https://ipfs.io")

convertCmd := &cobra.Command{
Use: "convert",
Expand Down

0 comments on commit 02072f8

Please sign in to comment.