1. 更新 docker-compose.yml
2. 在 nextcloud 服務中新增 NAS 共享資料夾掛載
This commit is contained in:
@@ -5,8 +5,8 @@ services:
|
||||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
# - ./config.php:/var/www/html/config/config.php
|
||||
- ./data/nextcloud:/var/www/html
|
||||
- /nas/share:/nas/share:ro # 這裡掛載 NAS 共享資料夾,建議設為唯讀
|
||||
restart: always
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
Reference in New Issue
Block a user