Closed Jadrie closed 6 months ago
Would it be possible to add a restart policy to the docker compose yaml?
presently there is no line in the docker-compose for restarting.
add the following line to each service- restart: unless-stopped
container will automatically restart if it's ever not running, if say, the server reboots.
You can set the restart policy in the override file.
Desired Behavior
Would it be possible to add a restart policy to the docker compose yaml?
Contrast to Current Behavior
presently there is no line in the docker-compose for restarting.
Required Changes
add the following line to each service- restart: unless-stopped
Discussion: Benefits and Drawbacks
container will automatically restart if it's ever not running, if say, the server reboots.