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.
TypeScript ai-agentai-resume-analyzerapplication-trackerapplication-tracking-systematscareerjob-applicationjob-automationjob-huntingjob-searchjob-seeker-toolsjob-trackerjob-trackingjobsearchjobseekersmcpollamaresumeresume-reviewself-hosted
Move env variables
Khuram Niaz57ed88421753
diff --git a/.env.example b/.env.exampleindex 9d5eac2..48231b7 100644--- a/.env.example+++ b/.env.example@@ -1,13 +1,10 @@-DATABASE_URL="file:./dev.db"+# Note: Copy these variables in your .env file# Change your username and password hereUSER_PASSWORD=password123# Refer to readme to generate auth secret-AUTH_SECRET=your_generated_secret-NEXTAUTH_URL='http://localhost:3000'-AUTH_TRUST_HOST=http://localhost:3000+AUTH_SECRET=generate-with-openssl-rand-base64-OPENAI_API_KEY=your-api-key-OLLAMA_BASE_URL=http://localhost:11434+OPENAI_API_KEY=your-openai-api-key-herediff --git a/Dockerfile b/Dockerfileindex 88a4355..00ca19a 100644--- a/Dockerfile+++ b/Dockerfile@@ -24,9 +24,6 @@ WORKDIR /appCOPY --from=deps /app/node_modules ./node_modulesCOPY . .-# Next.js collects completely anonymous telemetry data about general usage.-# Learn more here: https://nextjs.org/telemetry-ENV NEXT_TELEMETRY_DISABLED 1ENV DATABASE_URL=file:/data/dev.db# Add the wait script to ensure the database is ready before running migrations@@ -47,19 +44,11 @@ RUN \FROM base AS runnerWORKDIR /app-# Uncomment the following line in case you want to disable telemetry during runtime.-ENV NEXT_TELEMETRY_DISABLED 1# Set environment variablesENV NODE_ENV=production-ENV DATABASE_URL=file:./data/dev.db-ENV [email protected]-ENV USER_PASSWORD=password123-# Refer to readme to generate auth secret-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-ENV OPENAI_API_KEY=sk-xxx+# Comment the following line in case you do not want to disable telemetry during runtime.+ENV NEXT_TELEMETRY_DISABLED=1+RUN addgroup --system --gid 1001 nodejs && \adduser --system --uid 1001 nextjsdiff --git a/docker-compose.yml b/docker-compose.ymlindex 9f1f98f..2d7d399 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -8,14 +8,15 @@ services:ports:- "3000:3000"environment:- NODE_ENV: production- DATABASE_URL: file:/data/dev.db- # Change your initial username and password here- USER_EMAIL: [email protected]- USER_PASSWORD: password123- # Refer to readme to generate auth secret- AUTH_SECRET: Cft42eLmgapfLoot7ByiCL9ToNfbqZ4xaaMuOJsbm+9u- NEXTAUTH_URL: http://localhost:3000- AUTH_TRUST_HOST: http://localhost:3000+ # Please do not forget to create and update your .env file+ - NODE_ENV=production+ - DATABASE_URL=file:/data/dev.db+ - USER_EMAIL=${USER_EMAIL}+ - USER_PASSWORD=${USER_PASSWORD}+ - AUTH_SECRET=${AUTH_SECRET}+ - NEXTAUTH_URL=http://localhost:3000+ - AUTH_TRUST_HOST=http://localhost:3000+ - OLLAMA_BASE_URL=http://host.docker.internal:11434+ - OPENAI_API_KEY=${OPENAI_API_KEY}volumes:- ./jobsyncdb/data:/data