Skip to content

Conversation

@redbaron
Copy link

No description provided.

@redbaron redbaron force-pushed the configurable-httpPort branch 2 times, most recently from cc0620f to eb522d0 Compare May 23, 2019 10:30
@redbaron redbaron force-pushed the configurable-httpPort branch from eb522d0 to 4eb1ba5 Compare May 23, 2019 10:40
local c =
container.new('grafana', $._config.imageRepos.grafana + ':' + $._config.versions.grafana) +
(if std.length($._config.grafana.plugins) == 0 then {} else container.withEnv([env.new('GF_INSTALL_PLUGINS', std.join(',', $._config.grafana.plugins))])) +
container.withEnvMixin([env.new('GF_SERVER_HTTP_PORT', '' + $._config.grafana.containerPort.port)]) +
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be done via the configuration file as well no? I think I'd prefer to keep all configuration possible within the config file. GF_INSTALL_PLUGINS is only there because it's the only way to configure plugins to install.

@brancz
Copy link
Owner

brancz commented May 28, 2019

Just one comment, otherwise lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants