faradayio / cage

Develop and deploy complex Docker applications
http://cage.faraday.io
Apache License 2.0
307 stars 26 forks source link

How do you set the docker-compose project #105

Open aduzsardi opened 4 years ago

aduzsardi commented 4 years ago

I would like to override the project name from the current working directory to some custom name like with .env file in docker-compose, is this is possible with cage ?

emk commented 4 years ago

I don't remember any way to do this. cage will pick different names for the development and test targets, IIRC.

But in general, cage is not designed to be infinitely customizable. It would be better to rename the directory to match the project name you want, unless there's a reason why this simply isn't possible.

aduzsardi commented 4 years ago

unfortunately i can't rename it , anyway it's not that big of a deal

i just seen there's a variable of some kind in the common.env PROJECT_NAME=some-name , but it looks like it's not for what i was thinking it was