Skip to content

Commit

Permalink
Update docker-compose.mdx
Browse files Browse the repository at this point in the history
This is an important step for Synology NAS users that have a firewall with a "Deny All" rule at the bottom.  Since the containers are set-up in bridge mode for networking, the IP address of the Immich container needs to be forwarded along with port 2283.
  • Loading branch information
JasonMAnderson authored Feb 13, 2025
1 parent 2d7c333 commit c3e328a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/install/docker-compose.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ docker compose up -d
:::info Docker version
If you get an error such as `unknown shorthand flag: 'd' in -d` or `open <location of your .env file>: permission denied`, you are probably running the wrong Docker version. (This happens, for example, with the docker.io package in Ubuntu 22.04.3 LTS.) You can correct the problem by following the complete [Docker Engine install](https://docs.docker.com/engine/install/) procedure for your distribution, crucially the "Uninstall old versions" and "Install using the apt/rpm repository" sections. These replace the distro's Docker packages with Docker's official ones.

:::info Synology NAS firewall
In order to access the Immich server, you will need to create two firewall rules - one for port 2283 and another one for the local IP address of the Immich Docker container.

Note that the correct command really is `docker compose`, not `docker-compose`. If you try the latter on vanilla Ubuntu 22.04, it will fail in a different way:

```
Expand Down

0 comments on commit c3e328a

Please sign in to comment.