finch icon indicating copy to clipboard operation
finch copied to clipboard

Cannot specify compose file with environment variable

Open sam-berning opened this issue 1 year ago • 0 comments

Describe the bug If I specify the COMPOSE_FILE environment variable in my local shell, it will be ignored by Finch when searching for compose files. The variable is not shared with the Finch VM.

Steps to reproduce

$ mv docker-compose.yaml sam-compose.yaml
$ export COMPOSE_FILE=sam-compose.yaml
$ finch compose up                    
FATA[0000] no configuration file provided: not found    
FATA[0000] exit status 1

Expected behavior Finch should be able to find the compose file specified in the COMPOSE_FILE env variable. https://docs.docker.com/compose/environment-variables/envvars/#compose_file

sam-berning avatar Apr 06 '23 18:04 sam-berning