From 82e03978b89938219958032efb1448cc76baa181 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 27 Sep 2025 02:14:26 +0530 Subject: Initial snapshot - OpenTelemetry demo 2.1.3 -f --- src/flagd-ui/config/prod.exs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/flagd-ui/config/prod.exs (limited to 'src/flagd-ui/config/prod.exs') diff --git a/src/flagd-ui/config/prod.exs b/src/flagd-ui/config/prod.exs new file mode 100644 index 0000000..6288f7a --- /dev/null +++ b/src/flagd-ui/config/prod.exs @@ -0,0 +1,25 @@ +# Copyright The OpenTelemetry Authors +# SPDX-License-Identifier: Apache-2.0 + +import Config + +# Note we also include the path to a cache manifest +# containing the digested version of static files. This +# manifest is generated by the `mix assets.deploy` task, +# which you should run after static files are built and +# before starting your production server. +config :flagd_ui, FlagdUiWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json" + +# Configures Swoosh API Client +config :swoosh, api_client: Swoosh.ApiClient.Req + +# Disable Swoosh Local Memory Storage +config :swoosh, local: false + +# Do not print debug messages in production +config :logger, level: :info + +config :flagd_ui, storage_file_path: "/app/data/demo.flagd.json" + +# Runtime production configuration, including reading +# of environment variables, is done on config/runtime.exs. -- cgit v1.2.3