Parcourir la source

Don't restart containers if stopped (#376)

Tibor Leupold il y a 2 ans
Parent
commit
c7520702b6
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      docker-compose.yml

+ 2 - 2
docker-compose.yml

@@ -6,12 +6,12 @@ services:
       POSTGRES_DB: app_db
       POSTGRES_USER: app_user
       POSTGRES_PASSWORD: changeme
-    restart: always
+    restart: unless-stopped
     image: postgres:14.1
     expose:
       - '5432'
   redis:
-    restart: always
+    restart: unless-stopped
     image: redis:6.2
     expose:
       - '6379'