-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add nginx based docker compose #5498
Conversation
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for novu-design ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
VIRTUAL_HOST: ${REACT_APP_WS_HOST} | ||
VIRTUAL_PORT: ${WS_PORT} | ||
LETSENCRYPT_HOST: ${REACT_APP_WS_HOST} | ||
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does the system leverage this env variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIDGET_PORT=4500 | ||
|
||
# Hosts | ||
REACT_APP_WS_HOST=ws.novu.domain.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REACT_APP_WS_HOST=ws.novu.domain.com | |
WS_HOST=ws.novu.domain.com |
MONGO_MIN_POOL_SIZE=100 | ||
MONGO_INITDB_ROOT_USERNAME=novu-selfhost | ||
MONGO_INITDB_ROOT_PASSWORD=qwertyuiop | ||
MONGO_URL=mongodb://novu-selfhost:qwertyuiop@mongodb:27017/novu-db?authSource=admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MONGO_URL=mongodb://novu-selfhost:qwertyuiop@mongodb:27017/novu-db?authSource=admin | |
MONGO_URL=mongodb://$MONGO_INITDB_ROOT_USERNAME:$MONGO_INITDB_ROOT_PASSWORD@mongodb:27017/novu-db?authSource=admin |
- nginx-proxy | ||
- nginx-proxy-acme |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nginx-proxy-acme
depends on nginx-proxy
, so we can just have nginx-proxy-acme
here and in some other places as well
MONGO_MAX_POOL_SIZE: ${MONGO_MAX_POOL_SIZE} | ||
REDIS_HOST: ${REDIS_HOST} | ||
REDIS_PORT: ${REDIS_PORT} | ||
REDIS_DB_INDEX: 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's have this in the variable as well
This PR is being marked as stale due to inactivity. |
What changed? Why was the change needed?
add nginx based reverse proxy setup with lets encrypt
Docs PR:- novuhq/docs#587
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer