Clarify port listening patch

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
Juhyung Park
2024-04-08 16:24:32 +09:00
parent ec33d136d9
commit a089567e69
2 changed files with 4 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ In summary, the `install.sh` script does the following:
* Replaces `/usr/src` to `/var/lib/immich`.
* Limits listening host from 0.0.0.0 to 127.0.0.1 for microservices and machine-learning.
* Limits listening host from 0.0.0.0 to 127.0.0.1. If you do not want this to happen (make sure you fully understand the security risks!), comment out the `sed` command in `install.sh`'s "Use 127.0.0.1" part.
## 6. Install systemd services
@@ -130,9 +130,9 @@ done
## Done!
Your Immich installation should be running at :3001 port.
Your Immich installation should be running at 3001 port, listening from localhost (127.0.0.1).
Immich will additionally use 3002 and 3003 ports, but those will only listen from localhost (127.0.0.1).
Immich will additionally use localhost's 3002 and 3003 ports.
Please add firewall rules and apply https proxy and secure your Immich instance.

View File

@@ -99,7 +99,7 @@ mkdir -p $IMMICH_PATH/upload
ln -s $IMMICH_PATH/upload $APP/
ln -s $IMMICH_PATH/upload $APP/machine-learning/
# Use 127.0.0.1 for microservices
# Use 127.0.0.1
sed -i -e "s@app.listen(port)@app.listen(port, '127.0.0.1')@g" $APP/dist/main.js
# Custom start.sh script