CI: set up dokku
This commit is contained in:
parent
9903d4271b
commit
252d2e48af
5 changed files with 7 additions and 2 deletions
1
Procfile
Normal file
1
Procfile
Normal file
|
@ -0,0 +1 @@
|
|||
web: mix phx.server
|
|
@ -10,7 +10,7 @@ use Mix.Config
|
|||
# which you should run after static files are built and
|
||||
# before starting your production server.
|
||||
config :planner, PlannerWeb.Endpoint,
|
||||
url: [host: "example.com", port: 80],
|
||||
url: [port: 5000],
|
||||
cache_static_manifest: "priv/static/cache_manifest.json"
|
||||
|
||||
# Do not print debug messages in production
|
||||
|
|
|
@ -12,7 +12,7 @@ database_url =
|
|||
"""
|
||||
|
||||
config :planner, Planner.Repo,
|
||||
# ssl: true,
|
||||
ssl: true,
|
||||
url: database_url,
|
||||
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
|
||||
|
||||
|
|
2
elixir_buildpack.config
Normal file
2
elixir_buildpack.config
Normal file
|
@ -0,0 +1,2 @@
|
|||
elixir_version=1.10.3
|
||||
erlang_version=21.2.5
|
2
phoenix_static_buildpack.config
Normal file
2
phoenix_static_buildpack.config
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Node version
|
||||
node_version=10.20.1
|
Loading…
Add table
Reference in a new issue