mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
now syncthing console is on default https port...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5d6e412d29
commit
f5a8396abe
@ -1,5 +1,5 @@
|
||||
# Syncthing
|
||||
|
||||
https://${CTHOSTNAME}.srv
|
||||
https://${CTHOSTNAME}.adm
|
||||
|
||||
|
||||
|
||||
1
syncthing/assets/etc/sysctl.d/ports.conf
Normal file
1
syncthing/assets/etc/sysctl.d/ports.conf
Normal file
@ -0,0 +1 @@
|
||||
net.ipv4.ip_unprivileged_port_start=443
|
||||
@ -66,6 +66,9 @@ buildAssets
|
||||
echo "# Creating CT..."
|
||||
pctCreateAlpine $ID "${OPTS_STAGE_1}" "$PASS"
|
||||
|
||||
echo "# Copying assets..."
|
||||
pctPushAssets $ID
|
||||
|
||||
echo "# Installing dependencies..."
|
||||
@ lxc-attach $ID apk add bash syncthing logrotate
|
||||
|
||||
@ -77,7 +80,8 @@ echo "# Setup: dashboard..."
|
||||
sleep ${TIMEOUT:=5}
|
||||
@ lxc-attach $ID -- \
|
||||
sed \
|
||||
-e 's/127\.0\.0\.1:8384/0.0.0.0:8384/g' \
|
||||
-e 's/tls="false"/tls="true"/g' \
|
||||
-e 's/127\.0\.0\.1:8384/0.0.0.0:443/g' \
|
||||
-i /var/lib/syncthing/.config/syncthing/config.xml
|
||||
|
||||
echo "# Setup: firewall..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user