Skip to content

Commit

Permalink
copy/paste prod conf into runtime conf
Browse files Browse the repository at this point in the history
  • Loading branch information
bchamagne committed Jan 18, 2024
1 parent 330ff43 commit e4e9e10
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions config/runtime.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import Config

# this config is loaded when in release mode
IO.puts("==========================")
IO.puts("== APPLYING RUNTIME CONFIG ==")
IO.puts("==========================")

import_config("prod.exs")
config :archethic_fas, ArchethicFAS.Quotes.Provider.CoinMarketCap,
key: System.get_env("ARCHETHIC_CMC_PRO_API_KEY"),
endpoint: "pro-api.coinmarketcap.com"

config :archethic_fas,
api_port: System.get_env("ARCHETHIC_FAS_PORT", "3000") |> String.to_integer()

0 comments on commit e4e9e10

Please sign in to comment.