Skip to content

Commit

Permalink
adding env
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfieJones committed Mar 2, 2024
1 parent c42837f commit 534abe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ COPY --from=installer /app/apps/web/package.json .
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/standalone ./
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/.next/static ./apps/web/.next/static
COPY --from=installer --chown=nextjs:nodejs /app/apps/web/public ./apps/web/public

ENV NEXT_PUBLIC_BACKEND_URL=/api

EXPOSE 3000

Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose-self-hosting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ services:
- ORY_URL=http://kratos:4433
- NEXT_PUBLIC_ORY_URL=http://localhost:4433
- BACKEND_URL=http://pixeleye-backend:5000
- NEXT_PUBLIC_BACKEND_URL=/api
# - GITHUB_APP_NAME= # optional if you want to use the github login
networks:
- intranet
Expand Down

0 comments on commit 534abe9

Please sign in to comment.