Closed seyar closed 1 year ago
Hello @seyar ,
sorry for the late reply, I'am not really sure what you try to do. If you want to run vocascan behind traefik, we provide official documentation for that.
We provide pre-build images with the tags vocascan/server:latest
and vocascan/frontend:latest
, so there is no need for building them yourself with a custom docker file.
Please provide further information what you try to do and what parts work/don't work.
luwol03
Hi, @luwol03 . Sorry for mess. My problem consist of non working environment variables. I added them to the docker-compose.yml as shown above
...
environment:
REACT_APP_VOCASCAN_BASE_URL: "https://vocascan.<my server domain>"
REACT_APP_VOCASCAN_SHOW_PLANS: "false"
VOCASCAN_BASE_URL: "https://vocascan.<my server domain>"
VOCASCAN_SHOW_PLANS: "false"
...
but on frontend I still see plans window. And in my global window I see that my settings not reassigned
Hi,
Ok. Got it. This is due to a bug which is already fixed by #121 in the experimental
stage. We plan to release a new version soon so this will also get into the latest
stage, but we are currently all busy so that's why everything is a bit postponed. You can already try to use the vocascan/frontend:experimental
image if you want. That should work fine.
Btw. you don't need these REACT_APP_
prefixed variables, they only work on (react) build time, not on runtime.
@luwol03 Thank you for quick answer I`ll try the experimental image
I installed vocascan-server and vocascan-frontend behind traefik proxy. Frontend installed via docker-compose and I have only one yml file in folder
content of file:
To Reproduce Steps to reproduce the behavior:
docker-compose up -d --build
window.VOCASCAN_CONFIG
Expected behavior window.VOCASCAN_CONFIG imports docker-compose.yml variables and works properly
Screenshots
vocascan-frontend v1.3.0 #f8f3047 #2487582578-373
2022-06-13T10:06:01.779Z (232 days ago)
Additional context I think problem that I pulled up already built version from registry. Also I think pull the github repo and run through Dockerfile will solve problem. But I don
t know how to do this with traefik. There are two Dockerfile
s and no documents about run Dockerfile and traefik