# Immich

Easily back up, organize and manage your photos on your own server. Immich helps you browse, search and organize your photos and videos with ease.

### References

<ReferenceLinks references={frontmatter.references} />

---

## Directory structure

- immich
  - library/
  - model-cache/
  - postgres/
  - compose.yml (\*)
  - .env (\*)

## Make directory

```sh wrap preserveIndent
mkdir -p {{DOCKER_PATH_VAR}}/immich && cd {{DOCKER_PATH_VAR}}/immich
```

## compose.yml

```sh
nano compose.yml
```

```yml title="compose.yml"
yaml
```

## .env

```sh
nano .env
```

```dotenv title=".env"
env
```

## Start container

```sh
    docker compose up -d
    ```

  ```sh wrap preserveIndent
    docker compose up -d --cpus="2.0" --memory="4g"
    ```

  ## Open web ui

<OpenWebUI port="2283" />
