[Bugfix] Expose port in Dockerfile and force IPv4 (#129)

* Exposes port on built image

* Forced IPv4

* Added current version to sidebar
This commit is contained in:
Kieran
2024-03-26 17:54:20 -07:00
committed by GitHub
parent 7411177e7d
commit af86fede6c
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ if config_env() == :prod do
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
# See the documentation on https://hexdocs.pm/plug_cowboy/Plug.Cowboy.html
# for details about using IPv6 vs IPv4 and loopback vs public addresses.
ip: {0, 0, 0, 0, 0, 0, 0, 0},
ip: {0, 0, 0, 0},
port: String.to_integer(System.get_env("PORT") || "4000")
],
secret_key_base: secret_key_base