|
@@ -15,7 +15,7 @@ services:
|
|
|
- mongodb
|
|
|
restart: unless-stopped # 添加自动重启策略
|
|
|
volumes:
|
|
|
- - nextjs-uploads:/app/public/uploads # 添加这行来挂载 uploads volume
|
|
|
+ - /www/wwwroot/match-vote-nextjs/app/public/uploads:/app/public/uploads # 添加这行来挂载 uploads volume
|
|
|
|
|
|
mongodb:
|
|
|
image: mongo
|
|
@@ -36,7 +36,6 @@ services:
|
|
|
|
|
|
volumes:
|
|
|
mongodb_data:
|
|
|
- nextjs-uploads:
|
|
|
|
|
|
networks:
|
|
|
default:
|