Skip to content

Commit

Permalink
Change env variables in config (#8)
Browse files Browse the repository at this point in the history
- Fixed default value for RUNNER_API_URL
- Added default values for RUNNER_API_USER and RUNNER_API_KEY according to values
included in seed.exs from the api-server repository.

Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
  • Loading branch information
tallysmartins authored and PragTob committed Jul 3, 2018
1 parent 7962648 commit 48f865e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/config.exs
Expand Up @@ -17,8 +17,8 @@ config :runner, :container_benchmars_output_path, "/var/bench"

config :runner, :job_timeout, {:system, :integer, "JOB_TIMEOUT", 900_000}

config :runner, :api_user, {:system, "RUNNER_API_USER"}
config :runner, :api_key, {:system, "RUNNER_API_KEY"}
config :runner, :api_url, {:system, "RUNNER_API_URL", ["https://api.elixirbench.org/runner-api"]}
config :runner, :api_user, {:system, "RUNNER_API_USER", "test-runner"}
config :runner, :api_key, {:system, "RUNNER_API_KEY", "test"}
config :runner, :api_url, {:system, "RUNNER_API_URL", "https://api.elixirbench.org/runner-api"}

config :logger, level: :info

0 comments on commit 48f865e

Please sign in to comment.