Skip to content

Cant pass env variables to boxfuse #306

@georgebenyeogor

Description

@georgebenyeogor

I'm trying to fuse a CloudCaptain image and run it locally on VirtualBox, but I keep running into issues. At first, I had to tweak my application.yml file and move passwords and secrets that were in my application-dev.yml and application-prod.yml into it. Now, it wont run because it doesn't have access to .env files. I'm trying to pass the variables in using -envvars but get this error:
ERROR: Invalid Boxfuse configuration settings: envvars
When I drop the '-', it starts, but I still don't have access to the .env variables:
Caused by: io.github.cdimascio.dotenv.DotenvException: Could not find /.env on the classpath

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions