Closed zerafachris closed 2 years ago
I had a look at the code and proposed the following solution https://github.com/crawlab-team/crawlab/pull/1050 Hopefully it will get merged soon
Took a look and it seems fine. Let me double check on develop
branch.
Solution merged in https://github.com/crawlab-team/crawlab/pull/1050
Is your feature request related to a problem? Please describe. I am trying to run crawlab under a different base url, localhost/web1. Setting CRAWLAB_BASE_URL: "web1" and VUE_APP_API_BASE_URL: "web1"on the latest crawlabteam/crawlab image does not cause a change. I am forcing the change by updating
docker-start-master.sh
to behttps://gist.github.com/zerafachris/215bb1c3aabe262b65363e73731ca4b3.js and
pulling the latest version of crawlab and updating crawlab/frontend/.env.docker to be
VUE_APP_API_BASE_URL=/web1/api
Describe the solution you'd like Is there a way to have VUE_APP_API_BASE_URL as an environment variable for base image "crawlabteam/crawlab" so I do not have to build from source every time?