Skip to content

Commit

Permalink
chore: use localhost address for default NEXT_PUBLIC_KARRIO_PUBLIC_UR…
Browse files Browse the repository at this point in the history
…L during build
  • Loading branch information
danh91 committed Sep 11, 2024
1 parent 5d4d0fe commit 39b6e0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
run: |
echo 'Building karrio dashboard:${{ env.tag }}...'
export NEXT_PUBLIC_DASHBOARD_VERSION=${{ env.tag }}
export NEXT_PUBLIC_KARRIO_VERSION="http://locahost:5002"
./bin/build-dashboard-image ${{ env.tag }}
- name: Push karrio dashboard image
Expand Down
2 changes: 1 addition & 1 deletion docker/dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ENV NODE_ENV production
ENV NEXT_TELEMETRY_DISABLED 1
ENV SENTRY_IGNORE_API_RESOLUTION_ERROR 1
ENV NEXTAUTH_SECRET "nasdlfij34l5kj5k6j5kl6lp+lsick5bi*90!mbk7rc3iy_op1r"
ENV NEXT_PUBLIC_KARRIO_PUBLIC_URL https://api.karrio.io
ENV NEXT_PUBLIC_KARRIO_PUBLIC_URL http://locahost:5002
ENV NEXT_PUBLIC_DASHBOARD_URL http://localhost:3000
ENV NEXT_PUBLIC_DASHBOARD_VERSION ${VERSION}

Expand Down

0 comments on commit 39b6e0a

Please sign in to comment.