diff --git a/config/deploy.yml b/config/deploy.yml index 81327e7..dbe12f3 100644 --- a/config/deploy.yml +++ b/config/deploy.yml @@ -50,6 +50,7 @@ builder: env: clear: PORT: 4000 + DATABASE_HOST: futureporn-db secret: - DATABASE_PASSWORD diff --git a/docker-compose.yml b/docker-compose.yml index 54dec8e..cf12471 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,6 +62,7 @@ services: environment: MIX_ENV: dev PORT: "4000" + DATABASE_HOSTNAME: db env_file: - .kamal/secrets.development ports: diff --git a/services/bright/config/dev.exs b/services/bright/config/dev.exs index a7864cf..a0eae1b 100644 --- a/services/bright/config/dev.exs +++ b/services/bright/config/dev.exs @@ -4,7 +4,7 @@ import Config config :bright, Bright.Repo, username: "postgres", password: "#{System.get_env("DATABASE_PASSWORD")}", - hostname: "futureporn-db", + hostname: "#{System.get_env("DATABASE_HOSTNAME")}", database: "bright", stacktrace: true, show_sensitive_data_on_connection_error: true, diff --git a/services/bright/lib/bright_web/controllers/page_html/home.html.heex b/services/bright/lib/bright_web/controllers/page_html/home.html.heex index 04ae375..e9af2fe 100644 --- a/services/bright/lib/bright_web/controllers/page_html/home.html.heex +++ b/services/bright/lib/bright_web/controllers/page_html/home.html.heex @@ -17,7 +17,7 @@
-

This is a pre-alpha test of Futureporn version 2.0

+

This is a development pre-alpha preview pre-flight test sample demo of Futureporn version 2.0

Work is in progress, check back each week for updates.

Streams Archive