mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 21:38:58 +00:00
chore: Update Elixir Phoenix configuration and deployment instructions
This commit is contained in:
@@ -1,18 +1,7 @@
|
|||||||
# Hello
|
# Elixir Phoenix Configuration
|
||||||
|
|
||||||
To start your Phoenix server:
|
- Set `Build Pack` to `elixir`
|
||||||
|
- Set `MIX_ENV` to `prod`
|
||||||
* Run `mix setup` to install and setup dependencies
|
- Set `SECRET_KEY_BASE` to a random string (https://hexdocs.pm/phoenix/deployment.html#handling-of-your-application-secrets)
|
||||||
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
|
- Set `DATABASE_URL` to your database connection string
|
||||||
|
- Set `Ports Exposes` to `4000` (default)
|
||||||
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
|
|
||||||
|
|
||||||
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
|
|
||||||
|
|
||||||
## Learn more
|
|
||||||
|
|
||||||
* Official website: https://www.phoenixframework.org/
|
|
||||||
* Guides: https://hexdocs.pm/phoenix/overview.html
|
|
||||||
* Docs: https://hexdocs.pm/phoenix
|
|
||||||
* Forum: https://elixirforum.com/c/phoenix-forum
|
|
||||||
* Source: https://github.com/phoenixframework/phoenix
|
|
||||||
|
|||||||
Reference in New Issue
Block a user