diff --git a/syncthing/.env b/syncthing/.env index 1427ceb..3cde39f 100644 --- a/syncthing/.env +++ b/syncthing/.env @@ -2,9 +2,9 @@ SYNCTHING_CONFIG=/home/docker/syncthing/config SYNCTHING_DATA=/home/docker/syncthing/data SYNCTHING_WEBUI_PORT=8384 -SYNCTHING_LST_TCP=22000/tcp -SYNCTHING_LST_UDP=22000/udp -SYNCTHING_PORT_DSC=21027/udp +SYNCTHING_LST_TCP=22000 +SYNCTHING_LST_UDP=22000 +SYNCTHING_PORT_DSC=21027 # Syncthing TZ=Europe/Amsterdam \ No newline at end of file diff --git a/syncthing/README.md b/syncthing/README.md index 3260d28..34a1daa 100644 --- a/syncthing/README.md +++ b/syncthing/README.md @@ -48,9 +48,9 @@ services: restart: unless-stopped ports: - ${SYNCTHING_WEBUI_PORT:-8384}:8384 - - ${SYNCTHING_LST_TCP:-22000/tcp}:22000/tcp - - ${SYNCTHING_LST_UDP:-22000/udp}:22000/udp - - ${SYNCTHING_PORT_DSC:-21027/udp}:21027/udp + - ${SYNCTHING_LST_TCP:-22000}/tcp:22000/tcp + - ${SYNCTHING_LST_UDP:-22000}/udp:22000/udp + - ${SYNCTHING_PORT_DSC:-21027}/udp:21027/udp env_file: .env sysctls: - net.core.rmem_max=2097152 @@ -65,9 +65,9 @@ services: SYNCTHING_CONFIG=/home/docker/syncthing/config SYNCTHING_DATA=/home/docker/syncthing/data SYNCTHING_WEBUI_PORT=8384 -SYNCTHING_LST_TCP=22000/tcp -SYNCTHING_LST_UDP=22000/udp -SYNCTHING_PORT_DSC=21027/udp +SYNCTHING_LST_TCP=22000 +SYNCTHING_LST_UDP=22000 +SYNCTHING_PORT_DSC=21027 # Syncthing TZ=Europe/Amsterdam diff --git a/syncthing/docker-compose.yml b/syncthing/docker-compose.yml index 64c15ae..0c503a3 100644 --- a/syncthing/docker-compose.yml +++ b/syncthing/docker-compose.yml @@ -6,9 +6,9 @@ services: restart: unless-stopped ports: - ${SYNCTHING_WEBUI_PORT:-8384}:8384 - - ${SYNCTHING_LST_TCP:-22000/tcp}:22000/tcp - - ${SYNCTHING_LST_UDP:-22000/udp}:22000/udp - - ${SYNCTHING_PORT_DSC:-21027/udp}:21027/udp + - ${SYNCTHING_LST_TCP:-22000}/tcp:22000/tcp + - ${SYNCTHING_LST_UDP:-22000}/udp:22000/udp + - ${SYNCTHING_PORT_DSC:-21027}/udp:21027/udp env_file: .env sysctls: - net.core.rmem_max=2097152