Skip to content

Instantly share code, notes, and snippets.

@MicrexIT
Last active July 14, 2021 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MicrexIT/7412fe64027aee54a59fcce6c70981f2 to your computer and use it in GitHub Desktop.
Save MicrexIT/7412fe64027aee54a59fcce6c70981f2 to your computer and use it in GitHub Desktop.
Elixir Phoenix prod.exs Deployment
```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