2 Commits

  1. 9
      CHANGELOG.md
  2. 26
      config/releases.exs
  3. 2
      mix.exs

9
CHANGELOG.md

@ -5,6 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.34.4](https://git.inhji.de/inhji/mirage/compare/v0.34.3...v0.34.4) (2021-02-14)
### Bug Fixes:
* try different ssl config
## [v0.34.3](https://git.inhji.de/inhji/mirage/compare/v0.34.2...v0.34.3) (2021-02-14)

26
config/releases.exs

@ -11,10 +11,6 @@ database_url =
For example: ecto://USER:PASS@HOST/DATABASE
"""
config :mirage, Mirage.Repo,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
secret_key_base =
System.get_env("SECRET_KEY_BASE") ||
raise """
@ -43,30 +39,22 @@ cert_path =
For example: /opt/mirage/mirage.cert
"""
config :mirage, Mirage.Repo,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
config :mirage, MirageWeb.Endpoint,
http: [
port: String.to_integer(System.get_env("PORT") || "4000"),
transport_options: [socket_opts: [:inet6]]
],
http: [port: {:system, "PORT"}],
url: [host: public_url],
https: [
port: 443,
cipher_suite: :strong,
keyfile: key_path,
certfile: cert_path,
otp_app: :mirage,
transport_options: [socket_opts: [:inet6]]
],
url: [host: public_url, port: 443],
secret_key_base: secret_key_base,
cache_static_manifest: "priv/static/cache_manifest.json",
pool_size: 2,
server: true
# ## Using releases (Elixir v1.9+)
#
# If you are doing OTP releases, you need to instruct Phoenix
# to start each relevant endpoint:
#
# config :mirage, MirageWeb.Endpoint, server: true
#
# Then you can assemble a release by calling `mix release`.
# See `mix help release` for more information.

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.34.3"
@version "0.34.4"
def project do
[

Loading…
Cancel
Save