diff --git a/src/dumptruck.gleam b/src/dumptruck.gleam index 331785d..241af02 100644 --- a/src/dumptruck.gleam +++ b/src/dumptruck.gleam @@ -1,6 +1,7 @@ import app/config.{type Context, Context} import app/router import gleam/erlang/process +import gleam/option.{Some} import gleam/pgo import ids/cuid import mist @@ -14,6 +15,10 @@ fn with_context(continue: fn(Context) -> Nil) -> Nil { pgo.Config( ..pgo.default_config(), host: config.postgres_host, + user: config.postgres_user, + password: Some(config.postgres_password), + pool_size: config.postgres_pool_size, + port: config.postgres_port, database: config.postgres_db, pool_size: config.postgres_pool_size, ),