morphic icon indicating copy to clipboard operation
morphic copied to clipboard

[BUG] Docker instance does not allow creating new user

Open jamesyc opened this issue 6 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Vercel Runtime Logs

  • [ ] I have checked the Vercel Runtime Logs for errors (if applicable)

Current Behavior

I set up the docker container on my home server to play with, and I want to set up auth so this app requires a login to access. (Otherwise i'm basically allowing anyone on the internet, who can access this server, to have access to my openai api key... which is not good). However, there are no documentation on how to set up the login auth access.

Image

However, when I try to create an account... it freezes here. The "Sign Up" button does not work.

Note, I have properly set up local redis and gave it a supabase key. I didn't do anything to set up supabase though.

# Your Supabase project URL. NEXT_PUBLIC_SUPABASE_URL=https://*******.supabase.co # Your Supabase project's anonymous (public) key. NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbG**********

Expected Behavior

https://github.com/miurla/morphic/blob/main/docs/CONFIGURATION.md there are instructions on how to set up signup and auth in the docs.

The "Sign Up" button works properly and I create an account.

Steps To Reproduce

  1. use the docker image ghcr.io/miurla/morphic:latest to create a container, then docker compose up -d
  2. set up the .env.local file
  3. go to webpage localhost:43000 (I changed the port for me)
  4. click on button in the top right, "Sign In", then click "Sign Up"
  5. type in username/password/password2, then click "Sign Up". The button does not work here

Environment

- OS: Ubuntu 24 LTS
- Browser: latest chrome on latest macos

Anything else?

No response

jamesyc avatar Jul 09 '25 10:07 jamesyc

I have the same problem, and looking at the browser’s console, I get an error that the supabase url and credentials are not configured.

clx69 avatar Nov 06 '25 06:11 clx69