소스 검색

update docker compose add volume in api for image

pearlgw 1 개월 전
부모
커밋
ea01ef9f4d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      docker-compose.yml

+ 3 - 0
docker-compose.yml

@@ -24,9 +24,12 @@ services:
24 24
       - "3200:3200"
25 25
     env_file:
26 26
       - .env
27
+    volumes:
28
+      - img-storage:/app/storage/img
27 29
     depends_on:
28 30
       db:
29 31
         condition: service_healthy
30 32
 
31 33
 volumes:
32 34
   postgres-data:
35
+  img-storage: