5000 not 3000
This commit is contained in:
@@ -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
|
||||
FRONTEND_URL=http://localhost:5000
|
||||
@@ -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"]
|
||||
@@ -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=***
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user