- Set the hostname via an environment variable in
prod.exs
url: [host: System.get_env("HOSTNAME"), port: 80],
- Set the secret key base via an environment variable in
prod.secret.exs
secret_key_base: System.get_env("SECRET_KEY_BASE")
- Set the database connection url via an environment variable in
prod.secret.exs
url: System.get_env("DATABASE_URL"),
- Comment out the following lines in
.gitignore
#/priv/static/
#/config/prod.secret.exs