Support of env_file ?
See original GitHub issueHello,
I have this simple docker-compose.yml using env_file:
version: '2'
services:
users-presence-service:
image: iadvize/users-presence-service:CORE-209
env_file: .env
redis:
image: iadvize/redis:3
env_file: .env
When using docker-compose up it works.
But through this plugin I have this:
...
Status: Image is up to date for iadvize/redis:3
Couldn't find env file: /var/folders/j0/r7msg51x67ggf3y8jkdm7m5c0000gp/T/.env
Waiting for container Id to be available for service 'users-presence-service' time remaining: 499
Waiting for container Id to be available for service 'users-presence-service' time remaining: 497
...
Am I doing something wrong? The .env file is on the same level of docker-compose.yml.
Or is there no support of env_file?
Oh and it would be nice if when an error occurs (like my example: Couldn't find env file...) the command fails directly. I spent some time wondering why it was waiting forever the container ID…
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (10 by maintainers)
Top Results From Across the Web
EnvFile - IntelliJ IDEs Plugin - JetBrains Marketplace
Env File is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple...
Read more >EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set ...
Env File is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple...
Read more >Env file support - Sitecore Documentation
Env file support ... The JSS CLI supports loading environment variables from .env files that can be used to populate environment variables.
Read more >Declare default environment variables in file
Compose supports declaring environment variables in an environment file. ... Environment variables defined in the .env file are not automatically visible ...
Read more >IntelliJ : executing a program with environment variables ...
The EnvFile tab will have a checkbox for enabling EnvFile support and ... you need to set the env file option up for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yeah! It works by removing
dockerComposeInstances.bin, thanks @tobym.@kurtkopchik All is okay with this new snapshot too.
Well, everything seems fine now. Thank you again to both of you 👍
The official 1.0.8 release has been published:
addSbtPlugin("com.tapad" % "sbt-docker-compose" % "1.0.8")Please open a new issue if you run into any other problems. Thanks again for using the plugin!