|
@@ -14,9 +14,8 @@ services:
|
|
|
depends_on:
|
|
|
- mongodb
|
|
|
restart: unless-stopped # 添加自动重启策略
|
|
|
- volumes:
|
|
|
- - nextjs-uploads:/app/public/uploads
|
|
|
- user: root
|
|
|
+ # volumes:
|
|
|
+ # - nextjs-uploads:/app/public/uploads
|
|
|
|
|
|
mongodb:
|
|
|
image: mongo
|
|
@@ -37,7 +36,7 @@ services:
|
|
|
|
|
|
volumes:
|
|
|
mongodb_data:
|
|
|
- nextjs-uploads:
|
|
|
+ # nextjs-uploads:
|
|
|
|
|
|
networks:
|
|
|
default:
|