# tuna ❤️ Immich

[Immich](https://immich.app/?utm_source=tuna.am) - a self-hosted photo storage service, an alternative to [Google Photos](https://www.google.com/photos/about/?utm_source=tuna.am).

Tuna will help you provide access to your Immich server on your local network. We wrote an [article](https://vc.ru/dev/1107380-kak-hranit-fotoarhiv-u-sebya-a-ne-v-google-ili-yandekse) about using Immich on Raspberry PI 4.

![immich-login](/docs/img/examples/immich.png)

## Step 1. Install Immich

Installation instructions can be found in the [official documentation](https://immich.app/docs/install/docker-compose).

## Step 2. Configure tuna launch

1. Add the token to the `.env` file:

```bash
TUNA_TOKEN=tt_***

```

2. Add a service with tuna to the `docker-compose.yml` file and edit the arguments:

```yaml
  tuna:
    container_name: immich_tuna
    image: yuccastream/tuna:latest
    command: http immich-server:2283  --location=ru --subdomain=<your_subdomain> --inspect=false
    env_file:
      - .env
    restart: always
    depends_on:
      - immich-server


```

note

In immich-server version [v1.118.0](https://github.com/immich-app/immich/releases/tag/v1.118.0), the default connection port has changed. Previously it was **3001**, starting from version v1.118 - **2283**. If you are using a version before v1.118.0, specify `immich-server:3001` instead of `immich-server:2283`.

## Step 3. Run tuna

Execute:

```bash
docker compose pull && docker compose up -d

```

The service will be available in the browser and mobile application at the subdomain you specified.
