Files
immich/docs/docs/installation/portainer-installation.md
bo0tzz a1a7e6ac06 Small docs site tweaks (#954)
* Add yarn.lock to .gitignore

* Tweak announcementBar message

* Add demo link to docs homepage

* chore(docs): logo-meaning page cleanup

* chore(docs): support page cleanup

* chore(docs): tech-stack page cleanup

* chore(docs): requirements page cleanup

* Update main README warning to match docs site

* Add clearer documentation link to main README

* chore(docs): one-step-install page cleanup

* chore(docs): Security: remove example JWT_SECRET value

* chore(docs): recommended-install page cleanup

* chore(docs): portainer-install page cleanup

* chore(docs): unraid-install page cleanup
2022-11-10 08:20:23 -06:00

1.7 KiB

sidebar_position
sidebar_position
4

Portainer

Install Immich using Portainer's Stack feature.

  1. Go to "Stacks" in the left sidebar.
  2. Click on "Add stack".
  3. Give the stack a name (i.e. Immich), and select "Web Editor" as the build method.
  4. Copy the content of the docker-compose.yml file from the GitHub repository.
  5. Replace .env with stack.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" />

  1. 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" />

  1. Copy the content of the .env.example file from the GitHub repository and paste into the editor.
  2. Switch back to "Simple Mode".

<img src={require('./img/env-2.png').default} width="50%" style={{border: '1px solid #ddd'}} alt="Dot Env Example" />

  • Populate custom database information if necessary.
  • Populate UPLOAD_LOCATION with your preferred location for storing backup assets.
  • Populate a secret value for JWT_SECRET. You can use the command below to generate a secure key:
openssl rand -base64 128
  1. Click on "Deploy the stack".

:::tip For more information on how to use the application, please refer to the Post Installation guide. :::