We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321a511 commit f4b2965Copy full SHA for f4b2965
mix.exs
@@ -4,7 +4,7 @@ defmodule Realtime.MixProject do
4
def project do
5
[
6
app: :realtime,
7
- version: "2.41.22",
+ version: "2.41.23",
8
elixir: "~> 1.17.3",
9
elixirc_paths: elixirc_paths(Mix.env()),
10
start_permanent: Mix.env() == :prod,
rel/env.sh.eex
@@ -7,9 +7,12 @@
# for Fly.io
ip=$(grep fly-local-6pn /etc/hosts | cut -f 1)
-# for AWS ECS Fargate
11
if [ "$AWS_EXECUTION_ENV" = "AWS_ECS_FARGATE" ]; then
+ # for AWS ECS Fargate
12
ip=$(hostname -I | awk '{print $3}')
13
+elif [ -n "${POD_IP}" ]; then
14
+ # for kubernetes
15
+ ip=${POD_IP}
16
fi
17
18
# default to localhost
0 commit comments