alexcdev1 5 months ago
parent
commit
67548f2d77
1 changed files with 1 additions and 5 deletions
  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: