소스 검색

Don't restart containers if stopped (#376)

Tibor Leupold 2 년 전
부모
커밋
c7520702b6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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'