Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: mix phoenix.server |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
use Mix.Config | ||
|
||
# In this file, we keep production configuration that | ||
# you likely want to automate and keep it away from | ||
# your version control system. | ||
config :officetournament, Officetournament.Endpoint, | ||
secret_key_base: System.get_env("SECRET_KEY_BASE") | ||
|
||
# Configure your database | ||
config :officetournament, Officetournament.Repo, | ||
adapter: Ecto.Adapters.Postgres, | ||
url: System.get_env("DATABASE_URL") || "ecto://postgres:postgres@localhost/blog_backend_prod", | ||
size: 20 # The amount of database connections in the pool |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
config_vars_to_export=(DATABASE_URL SECRET_KEY_BASE) |