Last active
July 14, 2021 11:54
-
-
Save MicrexIT/7412fe64027aee54a59fcce6c70981f2 to your computer and use it in GitHub Desktop.
Elixir Phoenix prod.exs Deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```elixir | |
# config/prod.exs | |
import Config | |
config :theme_ci_admin, YourAppWeb.Endpoint, | |
# url: [host: "example.com", port: 80], | |
url: [host: "localhost", port: 4000], | |
cache_static_manifest: "priv/static/cache_manifest.json" | |
# Do not print debug messages in production | |
config :logger, level: :info | |
# ....... # | |
# --> DELETE THIS! import_config "runtime.exs" | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment