cage icon indicating copy to clipboard operation
cage copied to clipboard

How do you set the docker-compose project

Open aduzsardi opened this issue 5 years ago • 2 comments

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 ?

aduzsardi avatar Jun 30 '20 14:06 aduzsardi

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.

emk avatar Jul 05 '20 12:07 emk

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

aduzsardi avatar Jul 06 '20 09:07 aduzsardi