Skip to content

Commit

Permalink
main: Add docker/k8s secrets friendly path
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 authored and russss committed Mar 1, 2022
1 parent 1397ff8 commit a2a91e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func main() {
loggo.ConfigureLoggers("<root>=INFO")
log.Infof("IRCCat %s (%s) starting...", branch, revision)
viper.SetConfigName("irccat")
viper.AddConfigPath("/run/secrets")
viper.AddConfigPath("/etc")
viper.AddConfigPath(".")
var err error
Expand Down

0 comments on commit a2a91e5

Please sign in to comment.