Skip to content

Commit

Permalink
Merge pull request #106 from sinamics/internal_route
Browse files Browse the repository at this point in the history
Adding internal url
  • Loading branch information
sinamics authored Aug 27, 2023
2 parents 584e15e + 500ee14 commit 37cc5b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ ENV NODE_ENV production
# Disable telemetry during runtime.
ENV NEXT_TELEMETRY_DISABLED 1

# adding internal url. https://github.com/sinamics/ztnet/issues/105
ENV NEXTAUTH_URL_INTERNAL http://localhost:3000

RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
RUN apt update && apt install -y curl sudo postgresql-client && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Expand Down

0 comments on commit 37cc5b1

Please sign in to comment.