diff --git a/services/postgres.hcl b/services/postgres.hcl index 5710608..092efda 100644 --- a/services/postgres.hcl +++ b/services/postgres.hcl @@ -74,8 +74,26 @@ job "postgres" { PGADMIN_LISTEN_PORT = "${NOMAD_PORT_admin}" PGADMIN_DEFAULT_EMAIL = "${var.default_email}" PGADMIN_DEFAULT_PASSWORD = "${var.default_password}" - PGADMIN_DISABLE_POSTFIX = "true" + PGADMIN_DISABLE_POSTFIX = "True" PGADMIN_CONFIG_MAIL_SERVER = "'192.168.1.1'" + PGADMIN_CONFIG_AUTHENTICATION_SOURCES = "['oauth2', 'internal']" + PGADMIN_CONFIG_OAUTH2_AUTO_CREATE_USER = "True" + PGADMIN_CONFIG_OAUTH2_CONFIG = <