diff --git a/backend/.env.example b/backend/.env.example index f7e8c03..de1679c 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -1,7 +1,7 @@ NODE_ENV=development HOST=0.0.0.0 -PORT=3001 -APP_URL=http://localhost:3001 +PORT=5001 +APP_URL=http://localhost:5001 # Database DB_HOST=localhost @@ -35,7 +35,7 @@ SMTP_PASS= # Google OAuth GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= -GOOGLE_CALLBACK_URL=http://localhost:3000/auth/google/callback +GOOGLE_CALLBACK_URL=http://localhost:5000/auth/google/callback -FRONTEND_URL=http://localhost:3000 \ No newline at end of file +FRONTEND_URL=http://localhost:5000 \ No newline at end of file diff --git a/backend/Dockerfile b/backend/Dockerfile index afeca16..c43d50f 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -10,5 +10,5 @@ WORKDIR /app COPY package*.json ./ RUN npm ci --omit=dev COPY --from=base /app/dist ./dist -EXPOSE 3001 +EXPOSE 5001 CMD ["node", "dist/src/main.js"] \ No newline at end of file diff --git a/frontend/.env.example b/frontend/.env.example index ebd8a0f..f47501e 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -1,4 +1,4 @@ -NEXT_PUBLIC_API_URL=http://localhost:3001 +NEXT_PUBLIC_API_URL=http://localhost:5001 UPLOAD_R2_WORKER_API=***.workers.dev R2_UPLOAD_API_KEY=*** \ No newline at end of file diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 3efd581..7ce0d6d 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -11,5 +11,5 @@ COPY package*.json ./ RUN npm ci --omit=dev COPY --from=base /app/.next ./.next COPY --from=base /app/public ./public -EXPOSE 3000 +EXPOSE 5000 CMD ["npm", "start"] \ No newline at end of file