Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

Access localhost ollama from docker container

Khuram Niazb9188d7cf8fc
diff --git a/Dockerfile b/Dockerfile
index a8f79fb..5e8194f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -58,6 +58,7 @@ ENV USER_PASSWORD=password123
ENV AUTH_SECRET=Cft42eLmgapfLoot7ByiCL9ToNfbqZ4xaaMuOJsbm+9u
ENV NEXTAUTH_URL: http://localhost:3000
ENV AUTH_TRUST_HOST: http://localhost:3000
+ENV OLLAMA_BASE_URL=http://host.docker.internal:11434
RUN addgroup --system --gid 1001 nodejs && \
adduser --system --uid 1001 nextjs