testcontainers-node icon indicating copy to clipboard operation
testcontainers-node copied to clipboard

Be able to set own project name on withNoRecreate

Open tiloio opened this issue 3 years ago • 2 comments

If you want to use testcontainers with multiple projects the "testcontainers-node" project name may already be used on your system. So to be able to use your own projectName in that function would make sense to me.

tiloio avatar Apr 06 '22 10:04 tiloio

@tiloio thanks for the PR! could you add a test? something along the lines of https://github.com/testcontainers/testcontainers-node/blob/ddfd91568dab4a3ad14819c44421195a28dc10c8/src/docker-compose-environment/docker-compose-environment.test.ts#L177-L187

cristianrgreco avatar Apr 06 '22 17:04 cristianrgreco

Hi @tiloio, will you be able to add a test for this change?

cristianrgreco avatar May 18 '22 17:05 cristianrgreco