diff --git a/CloudronManifest.json b/CloudronManifest.json
index 4bb69ea..b3a9a4c 100644
--- a/CloudronManifest.json
+++ b/CloudronManifest.json
@@ -12,8 +12,8 @@
"localstorage": {}
},
"tcpPorts": {
- "PORT": {
- "title": "Port",
+ "SYNCER_PORT": {
+ "title": "Sync Port",
"description": "Port over which syncthing will exchange data (do not disable)",
"defaultValue": 22000,
"containerPort": 22000
diff --git a/start.sh b/start.sh
index 991b9c2..c3093ac 100755
--- a/start.sh
+++ b/start.sh
@@ -13,7 +13,7 @@ if [ ! -f /app/data/config/config.xml ]; then
fi
# Set the listenAddress and the gui enabled to make sure user doesnt lock themselves out by accident.
-sed -e 's,.*,tcp://:22000,' -i /app/data/config/config.xml
+sed -e "s,.*,tcp://:${SYNCER_PORT}," -i /app/data/config/config.xml
sed -e 's,,,' -i /app/data/config/config.xml
chown -R cloudron:cloudron /app/data/config /app/data