File tree Expand file tree Collapse file tree 4 files changed +714
-38
lines changed
Expand file tree Collapse file tree 4 files changed +714
-38
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ ARG MONGODB_VER
2020RUN /install.sh &&\
2121 rm /install.sh
2222
23- COPY entrypoint.sh entrypoint-rootless .sh /
23+ COPY entrypoint-unified .sh / entrypoint.sh
2424
2525WORKDIR /opt/tplink/EAPController/lib
2626EXPOSE 8088 8043 8843 19810/udp 27001/udp 29810/udp 29811 29812 29813 29814 29815 29816 29817
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ PORT_MANAGER_V2="${PORT_MANAGER_V2:-29814}"
2121PORT_DISCOVERY=" ${PORT_DISCOVERY:- 29810} "
2222PORT_TRANSFER_V2=" ${PORT_TRANSFER_V2:- 29815} "
2323PORT_RTTY=" ${PORT_RTTY:- 29816} "
24+ PORT_DEVICE_MONITOR=" ${PORT_DEVICE_MONITOR:- 29817} "
2425# END PORTS CONFIGURATION
2526
2627# EXTERNAL MONGODB
@@ -107,7 +108,7 @@ echo "INFO: Time zone set to '${TZ}'"
107108
108109# set values in omada.properties
109110# update stored ports when different of enviroment defined ports (works for numbers only)
110- for ELEM in MANAGE_HTTP_PORT MANAGE_HTTPS_PORT PORTAL_HTTP_PORT PORTAL_HTTPS_PORT PORT_ADOPT_V1 PORT_APP_DISCOVERY PORT_UPGRADE_V1 PORT_MANAGER_V1 PORT_MANAGER_V2 PORT_DISCOVERY PORT_TRANSFER_V2 PORT_RTTY
111+ for ELEM in MANAGE_HTTP_PORT MANAGE_HTTPS_PORT PORTAL_HTTP_PORT PORTAL_HTTPS_PORT PORT_ADOPT_V1 PORT_APP_DISCOVERY PORT_UPGRADE_V1 PORT_MANAGER_V1 PORT_MANAGER_V2 PORT_DISCOVERY PORT_TRANSFER_V2 PORT_RTTY PORT_DEVICE_MONITOR
111112do
112113 # convert element to key name
113114 KEY=" $( echo " ${ELEM} " | tr ' [:upper:]' ' [:lower:]' | tr ' _' ' .' ) "
338339 echo " INFO: Success! Your MongoDB version matches your persistent data; continuing with entrypoint startup..."
339340 fi
340341 else
341- echo " INFO: Skipping MongoDB version check; image version != 6 and the last ran version != 6 (this is normal)"
342+ echo " INFO: Not updating to v6; skipping MongoDB version check (this is normal)"
342343 fi
343344fi
344345
You can’t perform that action at this time.
0 commit comments