跳到主要内容

Portainer

使用 Portainer 的 Stack 功能安裝 Immich。

  1. 在左側邊欄進入「Stacks」。
  2. 點擊「Add stack」。
  3. 為 Stack 命名(如 immich),並選擇「Web Editor」作為建置方法。
  4. 從 GitHub 儲存庫 複製 docker-compose.yml 文件的內容。
  5. 將 .env 替換為 stack.env,適用於需要在 Web Editor 中使用環境變數的所有容器。
Dot Env Example
  1. 在 Environment Variables 部分點擊「Advanced Mode」。
Dot Env Example
  1. 從 GitHub 儲存庫 複製 example.env 文件的內容並貼到編輯器中。
  2. 切換回「Simple Mode」。
Dot Env Example
  • 改變預設的 DB_PASSWORD,如有需要可添加自訂的資料庫連線資訊。
  • 將 DB_DATA_LOCATION 更改為一個資料夾(絕對路徑),用於保存資料庫到硬碟。
  • 將 UPLOAD_LOCATION 更改為一個資料夾(絕對路徑),用於存儲媒體(上傳和生成)。
  1. 點擊「Deploy the stack」。
提示

有關如何使用該應用程式的更多資訊,請參考 Post Installation 指南。