@@ -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:
mongodb_data:
- nextjs-uploads:
networks:
default: