I can run the application outside of ShinyProxy just fine and load the env-file like so:
docker run --expose=3838 --name shiny-planting-schedule --rm -i -t --env-file C:\Users\user\Documents\.Renviron -p 3838:3838 shiny-planting-schedule
But adding the container-env-file
parameter does not work inside the application.yml:
container-env-file: C:\Users\user\Documents\.Renviron
Moreover, I can use the container-env
parameter inside the application.yml file and remove the container-env-file
parameter, and then the application runs fine.
Am I incorrectly specifying the path to the env-file
? Does the env-file
need to be formatted differently than it would be if passed to docker run --env-file
?