Replies: 1 comment
-
i have posted a question regarding this at |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello community,
i just had the idea to start multiple instances of my compose file -
for example to have one instance for every developer in the team..
and to distinct them i would create them just by passing different project names to the constructor like so:
that is working - but now i am greeted by
port already used
messages 🙈so i need to set the ports of the services..
→ what is the best way to do this?
one idea i had was to extract the ports to the .env file.
i thought i maybe can overwrite the envs - but that seems to be more complex than i thought..
i could create a new env file (maybe i can do an in memory file?!) and include both..
(untested)
or do some compose-override magic?!
maybe i am on the totally wrong way in general...
any ideas and hints are welcome..
sunny greetings
stefan
Beta Was this translation helpful? Give feedback.
All reactions