Skip to content

Unable to deploy stack when using together with stack.env #26

Open
@theksk23

Description

@theksk23

If you try using relative pathes from git together with environment-variables from stack.env you end up with the following:

an error occurred while running unpacker container with exit code 255: open /mnt/portainer-mounts/foo/bar/portainer-compose-unpacker/stacks/bar/bar/stack.env: no such file or directory 

The unpacker seems to take docker-compose.yml env_file: stack.env and adds it to its list-of-files to verify or so?
It does not exist of course, so we run into a failure deploying the stack

Adding the file to git will end up overwriting the values set in Portainer UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions