From d83aec420aa8b0fe87610bb52f5e243cae73cc6b Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 11 Oct 2018 13:33:21 -0500 Subject: [PATCH] set base_url in airtime.conf. fixes #11 --- bootstrap/entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/entrypoint.sh b/bootstrap/entrypoint.sh index a8f281ef2..0997390e7 100644 --- a/bootstrap/entrypoint.sh +++ b/bootstrap/entrypoint.sh @@ -9,6 +9,8 @@ CUSTOMISATIONS_SCRIPT="/etc/airtime-customisations/run.sh" echo "127.0.0.1 airtime libretime" >> /etc/hosts function setConfigFromEnvironments { + # General + crudini --set "$AIRTIME_CONFIG_FILE" "general" "base_url" "$EXTERNAL_HOSTNAME" # RabbitMQ crudini --set "$AIRTIME_CONFIG_FILE" "rabbitmq" "host" "libretime-rabbitmq"