summaryrefslogtreecommitdiff
path: root/src/flagd-ui/config/prod.exs
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-09-27 02:14:26 +0530
committerSaumit <justsaumit@protonmail.com>2025-09-27 02:14:26 +0530
commit82e03978b89938219958032efb1448cc76baa181 (patch)
tree626f3e54d52ecd49be0ed3bee30abacc0453d081 /src/flagd-ui/config/prod.exs
Initial snapshot - OpenTelemetry demo 2.1.3 -f
Diffstat (limited to 'src/flagd-ui/config/prod.exs')
-rw-r--r--src/flagd-ui/config/prod.exs25
1 files changed, 25 insertions, 0 deletions
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.