I want to run something else in my node, but it will require port 80, and it is currently in use by Umbrel. How can I change Umbrel to use another port?
Hi! I’ve changed the value of NGINX_PORT=<port>
in ~/umbrel/.env
and launched it by hand via ./scripts/start
command
Seems works fine.
Thanks, it works.
Is there still a way to do this, there is no longer a .env and modifying the .env.migrated doesn’t work
Here in my setup I was able to change the port following the steps (Using the Umbrel 1.4):
-
Opening the config file /etc/systemd/system/umbrel.service
pico /etc/systemd/system/umbrel.service
-
Specify you port changing:
ExecStart=umbreld --data-directory=/home/umbrel/umbrel
To:
ExecStart=umbreld --data-directory=/home/umbrel/umbrel --port=<YOUR_PORT>
-
Restart the server
systemctl daemon-reload
systemctl restart umbrel