Open kmehant opened 4 years ago
Hey @kmehant,
Your changes look good to me!
Hey @kmehant, Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.
Use environment variable apiUrl
to set Bassa API url
Hey @kmehant,
Your changes look good to me!
Hey @kmehant,
Your changes look good to me!
Try this method.
See https://hub.docker.com/_/nginx
COPY the env.js.template
to /etc/nginx/templates
with placeholder
Hey @kmehant,
Your changes look good to me!
Hey @kmehant,
Your changes look good to me!
@agentmilindu I have tested it now, it works well having apiUrl
set for server URL is taking up the changes in run time on reloading the container.
But all server routes give out 404 because of this PR https://github.com/scorelab/Bassa/pull/890 which does not seem to work with WSGI and supervisord layers well. Works without WSGI and supervisord though.
Try this method.
See https://hub.docker.com/_/nginx
COPY the
env.js.template
to/etc/nginx/templates
with placeholder
Are you planning to have bassa server also routed through the same nginx 🤔, then how about mounting the nginx config with an another server block for Bassa server?
Signed-off-by: K mehant 411843@student.nitandhra.ac.in