0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-18 01:24:26 -05:00

Update docker-compose.mdx

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.
This commit is contained in:
Jason Anderson 2025-02-12 16:08:23 -09:00 committed by GitHub
parent 2d7c333c8c
commit c3e328ab2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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:
```