-
Notifications
You must be signed in to change notification settings - Fork 4k
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
🐛 Bug Report: Web Docker Image about env-config.js v 2.1.0 #7650
Comments
I have this problem too. Makes the frontend unusable. |
I rebuilt the .env and .env.sample files with configMap, made some additions to my Deployment.yaml file, wrote a command to run the env.sh script when the container starts, and moved the new env-config.js file under the build folder to temporarily solve the problem.
deployment.yaml However, I also get localhost:2022 problem and api/billing errors in the web image. |
📜 Description
Hello, I installed the Novu application in a cloud environment with docker. However, in "novu web v 2.1.0", when converting env value to env-config.js, this app stores env.sample value as localhost:3000 inside build folder.
SKIP_PREFLIGHT_CHECK: 'true', REACT_APP_ENVIRONMENT: 'dev', REACT_APP_VERSION: '$npm_package_version', REACT_APP_API_URL: 'http://localhost:3000', REACT_APP_WS_URL: 'http://localhost:3002', REACT_APP_WEBHOOK_URL: 'http://localhost:3003', IS_V2_ENABLED: 'true',
I want to use API_URL as hostname. There is no such problem in version 0.24.0. Do you have any suggested solutions on this issue?👟 Reproduction steps
👍 Expected behavior
👎 Actual Behavior with Screenshots
Novu version
v 2.1.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: