mirror of
https://github.com/immich-app/immich.git
synced 2025-04-25 13:24:51 +02:00
* Update portainer.md * Update portainer.md * chore: cleanup --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
1.6 KiB
1.6 KiB
sidebar_position
sidebar_position |
---|
50 |
Portainer
Install Immich using Portainer's Stack feature.
- Go to "Stacks" in the left sidebar.
- Click on "Add stack".
- Give the stack a name (i.e. immich), and select "Web Editor" as the build method.
- Copy the content of the
docker-compose.yml
file from the GitHub repository. - Replace
.env
withstack.env
for all containers that need to use environment variables in the web editor.
<img src={require('./img/dot-env.png').default} width="50%" style={{border: '1px solid #ddd'}} alt="Dot Env Example" />
- Click on "Advanced Mode" in the Environment Variables section.
<img src={require('./img/env-1.png').default} width="50%" style={{border: '1px solid #ddd'}} alt="Dot Env Example" />
- Copy the content of the
example.env
file from the GitHub repository and paste into the editor. - Switch back to "Simple Mode".
<img src={require('./img/env-2.png').default} width="50%" style={{border: '1px solid #ddd'}} alt="Dot Env Example" />
- Change the default
DB_PASSWORD
, and add custom database connection information if necessary. - Change
DB_DATA_LOCATION
to a folder where the database will be saved to disk. - Change
UPLOAD_LOCATION
to a folder where media (uploaded and generated) will be stored.
- Click on "Deploy the stack".
:::tip For more information on how to use the application, please refer to the Post Installation guide. :::