1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

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

This commit is contained in:
Anthony Lapenna 2016-08-10 18:37:25 +12:00
parent 6c29377992
commit de3353feba
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)