Docker Compose, если не остановлен

services:
  db:
    image: postgres
    restart: unless-stopped
MilMike