rewardenv / reward

Reward is a Swiss Army knife CLI utility for orchestrating Docker based development environments.
https://rewardenv.readthedocs.io
MIT License
89 stars 13 forks source link

container ip changed on restarting causes issue. #66

Closed gitdckap closed 2 months ago

gitdckap commented 3 months ago

Hi, in reward each container are configured with the names like for redis service is called with domain name redis and database cservice is called with it's domain name db and so on. The problem is when environment / project is switched the dns name of the services is not working. ERROR : php_network_getaddress failed for redis same error is happening for db and opensearch. So is there any solution of fixing the name resolution. or making a static IP address for each docker containers ?

Thanks, Nasim

janosmiko commented 3 months ago

Hi @gitdckap

Could you specify your request a bit more? What's the goal here? In reward, the environment contains a redis and a database and if you spin up a different environment that's going to have a different redis or database instance. These components are attached to the environments.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.