5000 not 3000

This commit is contained in:
2026-02-19 12:09:31 +09:00
parent 55a2bc8281
commit c32d5c9977
4 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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"]

View File

@@ -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=***

View File

@@ -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"]