title: Docker containers onlys up when access the host with ssh
body: <p>I have two containers it was builded with command &gt; docker-compose up --build -d.
  All containers build normally and stays up, but when I leave the machine the containers stays up at least 2 hours until que he drops again.</p>
  <p>This containers is running an API in PHP LARAVEL Framework and a nginx reverse proxy.</p>
  <p><a href="https://i.stack.imgur.com/1grXm.png" rel="nofollow noreferrer">Docker Image Started as 46Hours ago and UP 2 seconds</a></p>
  <p>When I start the application and leave the machine where Docker is installed, it is in max two hours running. If I access the machine via ssh and then after that access the application and it is running without the need to do a docker-compose up. And the api was written in Laravel PHP with a Nginx container making a reverse Proxy.</p>
  <p>What do I have to do to make these containers stand up as a productive environment?</p>