add docker release

This commit is contained in:
Pierre de Lacroix 2026-01-23 00:08:41 +01:00
parent 6f80299dbc
commit b06cf0b98a
Signed by: lateralus23
GPG key ID: 53E0CEC29C24EF39
7 changed files with 151 additions and 2 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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