compose icon indicating copy to clipboard operation
compose copied to clipboard

Compose v3: Make ability to specify source for ENV variables inside docker-compose file

Open mrAndersen opened this issue 3 years ago • 1 comments

For example i have the following service

web:
    build:
            context: docker/fpm
            dockerfile: Dockerfile
            args:
                MY_VARIABLE_STATUS:  ${VARIABLE_NOT_FROM_ENV}

I want VARIABLE_NOT_FROM_ENV being resolved not from .env file and ALSO i don't want to write all the time --env-file argument running compose up command, so i assume you guys should make this as a config inside docker-compose.yaml itself

mrAndersen avatar Mar 21 '22 10:03 mrAndersen

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 10:09 stale[bot]

This issue has been automatically closed because it had not recent activity during the stale period.

stale[bot] avatar Nov 02 '22 03:11 stale[bot]