1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

feat(global): add the --logo flag to specify an external logo picture (#120)

This commit is contained in:
Anthony Lapenna 2016-08-10 18:38:33 +12:00 committed by GitHub
parent 6c29377992
commit 722dc0b3af
4 changed files with 7 additions and 2 deletions

View file

@ -18,6 +18,7 @@ func main() {
tlskey = kingpin.Flag("tlskey", "Path to the TLS key").Default("/certs/key.pem").String()
swarm = kingpin.Flag("swarm", "Swarm cluster support").Default("false").Short('s').Bool()
labels = pairs(kingpin.Flag("hide-label", "Hide containers with a specific label in the UI").Short('l'))
logo = kingpin.Flag("logo", "URL for the logo displayed in the UI").String()
)
kingpin.Parse()
@ -36,6 +37,7 @@ func main() {
settings := &Settings{
Swarm: *swarm,
HiddenLabels: *labels,
Logo: *logo,
}
api := newAPI(apiConfig)