Skip to content

Commit

Permalink
fix: fix env file (#349)
Browse files Browse the repository at this point in the history
Because

- env file configuration is wrong

This commit

- fix env file configuration
  • Loading branch information
EiffelFly committed Feb 17, 2023
1 parent f2e6126 commit b8ff7aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ NEXT_PUBLIC_DISABLE_USAGE_COLLECTION=false
NEXT_PUBLIC_API_GATEWAY_BASE_URL_FOR_CLIENT=http://localhost:8080

# This should be set to http://api-gateway:8080 when working in docker
API_GATEWAY_BASE_URL_FOR_SERVER=http://localhost:8080
API_GATEWAY_BASE_URL_FOR_SSR=http://localhost:8080
NEXT_PUBLIC_SELF_SIGNED_CERTIFICATION=false
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ RUN pnpm run build
FROM node:16-alpine
WORKDIR /app

# You should carefully set this NODE_ENV, we set it to production by default
ARG NODE_ENV="production"
ENV NODE_ENV ${NODE_ENV}
# You should carefully set this NODE_ENV, set it when use docker-compose or docker-run
# ARG NODE_ENV="production"
# ENV NODE_ENV ${NODE_ENV}

# Uncomment the following line in case you want to disable telemetry during runtime.
ENV NEXT_TELEMETRY_DISABLED 1
Expand Down

0 comments on commit b8ff7aa

Please sign in to comment.