Skip to content

Step 5: PostgreSQL Setup

Quicklink to add a new Docker container (paste into your browser while logged into Unraid):

http://<your-unraid-ip>/Docker/AddContainer
  1. Go to the Docker tab → Add Container
  2. Select the template you downloaded (immich-postgres-official or immich-vectorchord-db)
  3. Configure:

    • Network: immich_internal
    • POSTGRES_PASSWORD: Set a strong password! Generate one in the terminal:

      openssl rand -base64 32 | tr -dc A-Za-z0-9 | head -c 32
      
    • POSTGRES_USER: postgres

    • POSTGRES_DB: immich
    • Hit Apply to start the container.

Warning

Remember/copy your POSTGRES_PASSWORD — you'll need the exact same value in the immich-server configuration.

Note

  • If upgrading from VectorChord 0.4.3 to 1.0.0+: See this comment.
  • You don't need to set a port. See FAQ.