Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fdc7008
removed pirsch analytics from widget
hrithikt Aug 29, 2024
38323ed
(fix): correct the client_url env variable
hrithikt Aug 31, 2024
2bc7ffc
(fix)(widget): handle fetching-messages when no sessionId present
hrithikt Aug 29, 2024
730d890
configure widget url using env variable
hrithikt Aug 31, 2024
521623c
removed package-lock.json
hrithikt Aug 29, 2024
5966bc3
use env vars to configure urls in widget
hrithikt Aug 31, 2024
2584625
(fix): minor padding issue in 'add to site section
hrithikt Aug 31, 2024
16d4c88
Merge pull request #236 from webwhiz-ai/env-fixes
hrithikt Aug 31, 2024
5c7fac9
(fix): updated comments in widget env files
hrithikt Aug 31, 2024
f9d39bb
Fix worker docker build. Update python 3.8 to 3.11
runephilosof-abtion Nov 19, 2025
a92cc0f
Merge remote-tracking branch 'remotes/webwhiz/main'
runephilosof-abtion Feb 25, 2026
4fde04e
Merge branch 'main' into sync-with-upstream
runephilosof-abtion Nov 19, 2025
ab28b64
Merge branch 'fix-worker-build' into sync-with-upstream
runephilosof-abtion Nov 19, 2025
33ed98d
Docker: Avoid exposing services to the network
runephilosof-abtion Dec 10, 2025
9485477
Docker: Set up for running workers in dev
runephilosof-abtion Dec 10, 2025
697cf44
python worker: Upgrade PyMuPDF
runephilosof-abtion Dec 10, 2025
e05e5ae
chore: update Node.js versions (14 → 16/18)
andersstigel-abtion Dec 10, 2025
e105ec6
chore: update package-lock.json to lockfileVersion 3
andersstigel-abtion Dec 10, 2025
0de8a75
feat: enable hot reloading for frontend development
andersstigel-abtion Dec 10, 2025
f45eda0
Hide PDF tab (commented out)
andersstigel-abtion Dec 10, 2025
fe32eb3
Upgrade node 18 to 20
runephilosof-abtion Dec 17, 2025
3e6d598
Lint: Newline at eof
runephilosof-abtion Dec 17, 2025
a394dc6
Add gpt-5.1-chat and remove old models
runephilosof-abtion Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SENTRY_DSN=
DEFAULT_SUBSCRIPTION=SELF_HOSTED

## FRONTEND URL ##
CLIENT_URL=https://webwhiz.ai
CLIENT_URL=https://app.webwhiz.ai

## EMAIL RELATED ##
EMAIL_SENDER_EMAIL=hi@webwhiz.ai
Expand Down
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SENDGRID_API_KEY=dummy
SENTRY_DSN=

## FRONTEND URL ##
CLIENT_URL=https://webwhiz.ai
CLIENT_URL=https://app.webwhiz.ai

## EMAIL RELATED ##
EMAIL_SENDER_EMAIL=hi@webwhiz.ai
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.20.8
nodejs 20.19.5
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# BUILD FOR PRODUCTION
###################

FROM node:18-alpine As build
FROM node:20-alpine As build

WORKDIR /usr/src/app

Expand All @@ -27,12 +27,12 @@ USER node
# PRODUCTION
###################

FROM node:18-alpine As production
FROM node:20-alpine As production

# Copy the bundled code from the build stage to the production image
COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY --chown=node:node --from=build /usr/src/app/dist ./dist
COPY --chown=node:node .env.docker .env

# Start the server using the production build
CMD [ "node", "dist/main.js" ]
CMD [ "node", "dist/main.js" ]
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# DEVELOPMENT
###################

FROM node:18-alpine As development
FROM node:20-alpine As development

WORKDIR /usr/src/app

Expand All @@ -16,4 +16,4 @@ ENV NODE_ENV development

EXPOSE 3000

CMD ["yarn", "run", "start:dev"]
CMD ["yarn", "run", "start:dev"]
24 changes: 19 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ services:
- .:/usr/src/app
- /usr/src/app/node_modules # Prevent overwriting of `node_modules`
ports:
- "3000:3000"
- "127.0.0.1:3000:3000"
environment:
NODE_ENV: development
env_file:
env_file:
- .env.docker
- .env.docker.local
- .env.docker.local
command: yarn run start:dev
depends_on:
- redis
Expand All @@ -33,12 +33,23 @@ services:
nodejs_worker:
build: .
command: node dist/crawler.main.js
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules # Prevent overwriting of `node_modules`
env_file:
- .env.docker
- .env.docker.local
depends_on:
- redis
- mongodb

python_worker:
build: ./workers
volumes:
- ./workers:/app
env_file:
- .env.docker
- .env.docker.local
depends_on:
- redis
- mongodb
Expand All @@ -47,8 +58,11 @@ services:
build:
context: ./frontend
dockerfile: Dockerfile.dev
volumes:
- ./frontend:/app
- /app/node_modules
ports:
- "3030:3001"
- "127.0.0.1:3030:3030"
depends_on:
- web

Expand All @@ -59,7 +73,7 @@ services:
args:
- PIRSCH_KEY
ports:
- "3031:1234"
- "127.0.0.1:3031:1234"
depends_on:
- web

Expand Down
8 changes: 5 additions & 3 deletions frontend/.env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_BASE_URL='https://api.webwhiz.ai'
REACT_APP_GOOGLE_AUTH_ID='158883259855-qn8g2bi77kqo0igt20pi6jb58797upm5.apps.googleusercontent.com'
PORT=3001
REACT_APP_BASE_URL='http://localhost:3000'
REACT_APP_GOOGLE_AUTH_ID=dummy
PORT=3030

REACT_APP_WEBWHIZ_WIDGET_URL="https://widget.webwhiz.ai"
2 changes: 2 additions & 0 deletions frontend/.env.docker
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_BASE_URL='/api'
REACT_APP_GOOGLE_AUTH_ID='dummy'

REACT_APP_WEBWHIZ_WIDGET_URL="https://widget.webwhiz.ai"
5 changes: 5 additions & 0 deletions frontend/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SKIP_PREFLIGHT_CHECK=true
REACT_APP_BASE_URL='http://api.webwhiz.ai'
REACT_APP_GOOGLE_AUTH_ID=dummy

REACT_APP_WEBWHIZ_WIDGET_URL="https://widget.webwhiz.ai"
2 changes: 1 addition & 1 deletion frontend/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 14.21.3
nodejs 18.20.8
5 changes: 2 additions & 3 deletions frontend/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Fetching the latest node image on apline linux
FROM node:14-alpine

FROM node:16-alpine
# Setting up the work directory
WORKDIR /app

Expand All @@ -14,4 +13,4 @@ COPY . .
COPY .env.docker .env

# Building our application
CMD ["npm", "run", "start"]
CMD ["npm", "run", "start"]
Loading