Skip to content

Commit

Permalink
fix(config): add SOFT_SERVE_CONFIG_LOCATION to Environ
Browse files Browse the repository at this point in the history
Fixes: c354d5f (feat: optionally pull config from a custom file (envvar), default to data path. (#557))
  • Loading branch information
aymanbagabas committed Dec 9, 2024
1 parent 00be796 commit c78da07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func (c *Config) Environ() []string {

// TODO: do this dynamically
envs = append(envs, []string{
fmt.Sprintf("SOFT_SERVE_CONFIG_LOCATION=%s", c.ConfigPath()),
fmt.Sprintf("SOFT_SERVE_DATA_PATH=%s", c.DataPath),
fmt.Sprintf("SOFT_SERVE_NAME=%s", c.Name),
fmt.Sprintf("SOFT_SERVE_INITIAL_ADMIN_KEYS=%s", strings.Join(c.InitialAdminKeys, "\n")),
Expand Down

0 comments on commit c78da07

Please sign in to comment.