Heelo Everyone
I am facing one issue while trying to upload env defined over host machine using export auth=variable & in docker compose file it is defined as givent below:
services:
packer:
image: imagename
working_dir: /data/src/GCE
# env_file: .env
environment:
- variabledocker=${auth}
volumes:
- "../.:/data"
but i am getting below error:
auth variable is not set defaulting to blank string
I also check on host machine using command env | grep auth it is showing the variable what could be the issue