Docker compor a menos que parado

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