I have a port that only gets opened after another service hits the first service URL. Ie. service one has port 19701 open, once service two hits 19701, service one opens up port 8001. The problem is that port 8001 doesn’t open till after the timeout occurs for port scanning and so service one never opens up port 8001. Do you have a recommended way to keep it open? In a docker compose file I’d just do this:
ports:
- "19071:19071"
- "8081:8081"