IMMICH 的一些坑

 話說 nextcloud aio 安裝要攻克可能還要一段時間,這時 immich 出現在替代方案清單之中,想來主要目的還是照片/影片的同步,先試一下頂多花點時間,最多再多摔個幾跤,頭上多幾包就是了,immich 提供了 server 端和 app ,有 docker-compose.yml 可以下載,想來不會太難………………………………………………………………………………………………

工作環境:
    Linux Mint
    Docker
    

先到 github 把 docker-compose.yml 和 example.env 下載後,發現,原來 .env 裏的IMMICH_VERSION 要自已去找一下,好在這個不難,看一下 github 右側的 Release 就行,目前也就是 v1.97.0

然後,docker-compose up -d 一直出現這個錯誤訊息,很牙起來……

ERROR: The Compose file './docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
 

搞了半天,要設 export VARIABLE_PROJECT_NAME 之類的變數,但是個人不愛,所以就....…註解大法,去掉了這個變數,先執行看看, 就…醬子成功了,app 也可以馬上可以用

說到底為何 nextcloud 那麼軸呀!?aio 的 docker-compose.yml 也不是很 aio 倒是坑很 aio


收工!

留言

這個網誌中的熱門文章

使用 Excel 計算2個地點之間的直線距離

LINE 儲存的檔案傳到 email 不方便 很不方便 非常不方便 但是有解的筆記

Excel 巨集合併多個 Excel 檔案