add docker release
This commit is contained in:
parent
6f80299dbc
commit
b06cf0b98a
7 changed files with 151 additions and 2 deletions
|
|
@ -29,8 +29,6 @@ config :logger, :default_formatter,
|
|||
# Use Jason for JSON parsing in Phoenix
|
||||
config :phoenix, :json_library, Jason
|
||||
|
||||
config :camp_api, :grist, api_key: System.get_env("GRIST_API_KEY")
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
import_config "#{config_env()}.exs"
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ config :camp_api, CampApiWeb.Endpoint,
|
|||
# Enable dev routes for dashboard and mailbox
|
||||
config :camp_api, dev_routes: true
|
||||
|
||||
config :camp_api, :grist, api_key: System.get_env("GRIST_API_KEY")
|
||||
|
||||
# Do not include metadata nor timestamps in development logs
|
||||
config :logger, :default_formatter, format: "[$level] $message\n"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ end
|
|||
config :camp_api, CampApiWeb.Endpoint,
|
||||
http: [port: String.to_integer(System.get_env("PORT", "4000"))]
|
||||
|
||||
config :camp_api, :grist, api_key: System.get_env("GRIST_API_KEY")
|
||||
|
||||
if config_env() == :prod do
|
||||
# The secret key base is used to sign/encrypt cookies and other secrets.
|
||||
# A default value is used in config/dev.exs and config/test.exs but you
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue