Last active
July 14, 2021 11:58
-
-
Save MicrexIT/ba994a0ecdc1e3197a87898ef251a4ba to your computer and use it in GitHub Desktop.
Elixir Phoenix runtime 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 :your_app_otp_name, 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"ifneq (,$(wildcard ./.env)) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment