Error sending confirmation email on Self Hosted instance

I have a self hosted supabase project, where i am facing the above issue. My logs are showing the following

"api","error":"unsupported protocol: "" only postgres hooks and HTTPS functions are supported at the moment",

I was not facing these issues locally, so i was thinking, maybe its an issue with my .env setup for docker-compose.yml

These are my following variables

General

SITE_URL="http://xxxxxxxx:3000"
ADDITIONAL_REDIRECT_URLS=https://xxxxxxxx,http://xxxxxxxx:3000/api/auth/callback
JWT_EXPIRY=3600
DISABLE_SIGNUP=false
API_EXTERNAL_URL="http://xxxxxxxx:8000"

Mailer Config

MAILER_URLPATHS_CONFIRMATION="/auth/v1/verify"
MAILER_URLPATHS_INVITE="/auth/v1/verify"
MAILER_URLPATHS_RECOVERY="/auth/v1/verify"
MAILER_URLPATHS_EMAIL_CHANGE="/auth/v1/verify"
MAILER_EXTERNAL_HOSTS="xxxxxxxx"

Email auth

ENABLE_EMAIL_SIGNUP=true
ENABLE_EMAIL_AUTOCONFIRM=false
SMTP_ADMIN_EMAIL=testing@lungicolor.shop
SMTP_HOST=smtp-relay.brevo.com
SMTP_PORT=587
SMTP_USER=xxxxxxxx@smtp-brevo.com
SMTP_PASS=xxxxxxxx
SMTP_SENDER_NAME=TESTING
ENABLE_ANONYMOUS_USERS=false
Was this page helpful?