Comments (5)
The root cause is:
- At time of vuj js app build, it is taking from .env file. So when we run docker build, at that time it takes env from .env and buiilds the website. But when we run the the nodejs server the website wont take from passed env var from docker run command since these are static files. I dont know how to solve this.
from entity-studio-dashboard-service.
The root cause is:
- At time of vuj js app build, it is taking from .env file. So when we run docker build, at that time it takes env from .env and buiilds the website. But when we run the the nodejs server the website wont take from passed env var from docker run command since these are static files. I dont know how to solve this.
@Vishwas1 Thanks for the info. I just ran the docker image and able to reproduce the issue.
from entity-studio-dashboard-service.
@Vishwas1 How about having the env variable in docker file and build the image and then set the value while running the docker container. I did not see any example where we can directly set the env variable in a static file.
Also , can you run this command and see whats the value of the env variable.
docker run -e "VUE_APP_TITLE=test_App" -p 9000:9000 hypersignprotocol/studio:1.0.0 | grep VUE_APP_TITLE
I will try the first option once I am done with the office work.
from entity-studio-dashboard-service.
@Vishwas1 How about having the env variable in docker file and build the image and then set the value while running the docker container. I did not see any example where we can directly set the env variable in a static file.
Also , can you run this command and see whats the value of the env variable.
docker run -e "VUE_APP_TITLE=test_App" -p 9000:9000 hypersignprotocol/studio:1.0.0 | grep VUE_APP_TITLE
I will try the first option once I am done with the office work.
@devgurung First option we are already doign it. see in the dockerfile. we are pointing .env file of the project in the container before building the project.
from entity-studio-dashboard-service.
@Vishwas1 How about having the env variable in docker file and build the image and then set the value while running the docker container. I did not see any example where we can directly set the env variable in a static file.
Also , can you run this command and see whats the value of the env variable.
docker run -e "VUE_APP_TITLE=test_App" -p 9000:9000 hypersignprotocol/studio:1.0.0 | grep VUE_APP_TITLE
I will try the first option once I am done with the office work.@devgurung First option we are already doign it. see in the dockerfile. we are pointing .env file of the project in the container before building the project.
@Vishwas1 Ohh..Did not notice that part.
docker run -e "VUE_APP_TITLE=test_App" -p 9000:9000 hypersignprotocol/studio:1.0.0 | grep VUE_APP_TITLE
When you run the above command, whats the result you see in your console?
from entity-studio-dashboard-service.
Related Issues (20)
- display validation msg for entering decimal value in Integer type field
- todo for frontend
- Not able to update status region while editing credential
- fix sidebar issue
- entity ui issue HOT 1
- Created credential disappearing on update
- not getting correct credential count
- while creating credentials, entering different issuer did and while authorization, displaying different Issuer did in the wallet
- presentation template count issue
- Add count field to org model
- showing private even after registering Did
- Write api documention for getting credential detail from studio server HOT 1
- Research on Polygon ID
- Create a List of api to be exposed HOT 1
- create a user table and link all other model with userId
- create a separate module for those api which will exposed
- implement api for creating did for particular app
- align the controller filed(Add , delete and cancel buttons and textboxes)
- after Deleting the controller Id, organisation should automatically get deleted on authorization
- not able to create organisation on adding controller id
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entity-studio-dashboard-service.