From 58fac72507fb91e0efbc9f80b23db3e7100cc6b1 Mon Sep 17 00:00:00 2001 From: Oleg Date: Fri, 30 Aug 2024 18:38:11 +0000 Subject: [PATCH] feat: add always restart policy for postgres service --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index d852ac1..b58c8e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,6 +26,7 @@ services: - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB} db: image: postgres:15.4 + restart: always environment: - POSTGRES_DB=${POSTGRES_DB} - POSTGRES_USER=${POSTGRES_USER}