remove more fly things and tweak dockerfile

This commit is contained in:
Graham McIntire 2023-01-29 12:56:28 -06:00
parent 43c930e772
commit ba3436fc7c
2 changed files with 6 additions and 4 deletions

View file

@ -67,7 +67,7 @@ RUN mix release
# the compiled release and other runtime necessities # the compiled release and other runtime necessities
FROM ${RUNNER_IMAGE} FROM ${RUNNER_IMAGE}
RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales \ RUN apt-get update -y && apt-get install -y apt-utils libstdc++6 openssl libncurses5 locales \
&& apt-get clean && rm -f /var/lib/apt/lists/*_* && apt-get clean && rm -f /var/lib/apt/lists/*_*
# Set the locale # Set the locale

View file

@ -71,9 +71,11 @@ if config_env() == :prod do
aprs_is_login_id: System.get_env("APRS_CALLSIGN"), aprs_is_login_id: System.get_env("APRS_CALLSIGN"),
aprs_is_password: System.get_env("APRS_PASSCODE") aprs_is_password: System.get_env("APRS_PASSCODE")
app_name = # app_name =
System.get_env("FLY_APP_NAME") || # System.get_env("FLY_APP_NAME") ||
raise "FLY_APP_NAME not available" # raise "FLY_APP_NAME not available"
app_name = "aprs"
config :libcluster, config :libcluster,
debug: true, debug: true,