alexcdev1 6 meses atrás
pai
commit
67548f2d77
1 arquivos alterados com 1 adições e 5 exclusões
  1. 1 5
      docker-compose.prod.yml

+ 1 - 5
docker-compose.prod.yml

@@ -14,10 +14,7 @@ services:
     depends_on:
       - mongodb
     restart: unless-stopped  # 添加自动重启策略
-    volumes:
-      - nextjs-uploads:/app/public/uploads  # 添加这行来挂载 uploads volume
-    user: root
-    
+
   mongodb:
     image: mongo
     volumes:
@@ -37,7 +34,6 @@ services:
 
 volumes:
   mongodb_data:
-  nextjs-uploads:
 
 networks:
   default: