Browse Source

update docker compose add volume in api for image

pearlgw 1 month ago
parent
commit
ea01ef9f4d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      docker-compose.yml

+ 3 - 0
docker-compose.yml

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