-
Hi folks, i have been trying to run this on ubuntu server 24 proxmox CT with docker but i couldnt manage to get access even one time on the login page. It just wont load. While docker compose is going up im getting "web exited with code 0" tried to git pull, docker -build and everything i could find. plus docker compose logs web says "no such service: web" any workout idea? ~/quivr$ docker compose up |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Hey, @wverdi! I'm here to help with any bugs or questions you have about the repository. Let's figure this out together! The To fix this, you can modify the services:
frontend:
image: quivr-frontend-prebuilt
pull_policy: never
build:
context: frontend
dockerfile: Dockerfile
args:
- NEXT_PUBLIC_ENV=local
- NEXT_PUBLIC_BACKEND_URL=${NEXT_PUBLIC_BACKEND_URL}
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
- NEXT_PUBLIC_CMS_URL=${NEXT_PUBLIC_CMS_URL}
- NEXT_PUBLIC_FRONTEND_URL=${NEXT_PUBLIC_FRONTEND_URL}
- NEXT_PUBLIC_AUTH_MODES=${NEXT_PUBLIC_AUTH_MODES}
container_name: web
depends_on:
- backend-core
restart: always
ports:
- 3000:3000
command: npm run dev # Add this line to start the Next.js server Make sure that the |
Beta Was this translation helpful? Give feedback.
-
I've done this way on my docker-compose.yml services: backend-core: but ive got this error [+] Running 6/0 |
Beta Was this translation helpful? Give feedback.
-
this is my docker-compose.yml updated
my $path/frontend Dockerfile is this
|
Beta Was this translation helpful? Give feedback.
-
ok, no errors now, but the login button in the login page doesnt work |
Beta Was this translation helpful? Give feedback.
-
This is my .env file
|
Beta Was this translation helpful? Give feedback.
-
Worked like a charm, thanks. |
Beta Was this translation helpful? Give feedback.
To resolve the issue where the login button on the login page doesn't work, follow these steps:
Check Environment Variables:
Ensure that all necessary environment variables are correctly set in your
.env
file. Specifically, verify the following variables:NEXT_PUBLIC_BACKEND_URL
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
NEXT_PUBLIC_AUTH_MODES
Your
.env
file looks mostly correct, but ensure that the URLs and keys are accurate and accessible.Verify Network Requests:
Use the browser's developer tools to check for any network errors or failed requests when you click the login button. This can help identify if there are any issues with the API endpoints or CORS settings.
C…