diff --git a/docker/Dockerfile b/docker/Dockerfile index a10710f..1ad1cd3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -58,9 +58,7 @@ ENV DB="auto" ENV DOCKER="true" ENV EARLYRENEW="30" ENV ENABLELOG="true" -ENV ENABLELOGCOMPRESS="true" ENV FASTGEOIP="false" -ENV LOGROTATE="0" ENV MDNS="true" ENV MDNSNAME="''" ENV NOAUTH="false" diff --git a/docker/README.md b/docker/README.md index a642d72..aaf0bbb 100644 --- a/docker/README.md +++ b/docker/README.md @@ -88,9 +88,7 @@ Variables are the same as those in [Start Parameters](https://github.com/tobychu | `DOCKER` | `true` (Boolean) | Run Zoraxy in docker compatibility mode. | | `EARLYRENEW` | `30` (Integer) | Number of days to early renew a soon expiring certificate. | | `ENABLELOG` | `true` (Boolean) | Enable system wide logging, set to false for writing log to STDOUT only. | -| `ENABLELOGCOMPRESS` | `true` (Boolean) | Enable log compression for rotated log files. | | `FASTGEOIP` | `false` (Boolean) | Enable high speed geoip lookup, require 1GB extra memory (Not recommend for low end devices). | -| `LOGROTATE` | `0` (String) | Enable log rotation and set the maximum log file size (Supports K, M, G suffixes). Set to 0 to disable. | | `MDNS` | `true` (Boolean) | Enable mDNS scanner and transponder. | | `MDNSNAME` | `''` (String) | mDNS name, leave empty to use default (zoraxy_{node-uuid}.local). | | `NOAUTH` | `false` (Boolean) | Disable authentication for management interface. | diff --git a/docker/entrypoint.py b/docker/entrypoint.py index 79253ae..b07e84c 100644 --- a/docker/entrypoint.py +++ b/docker/entrypoint.py @@ -93,9 +93,7 @@ def start_zoraxy(): f"-docker={ getenv('DOCKER', 'true') }", f"-earlyrenew={ getenv('EARLYRENEW', '30') }", f"-enablelog={ getenv('ENABLELOG', 'true') }", - f"-enablelogcompress={ getenv('ENABLELOGCOMPRESS', 'true') }", f"-fastgeoip={ getenv('FASTGEOIP', 'false') }", - f"-logrotate={ getenv('LOGROTATE', '0') }", f"-mdns={ getenv('MDNS', 'true') }", f"-mdnsname={ getenv('MDNSNAME', "''") }", f"-noauth={ getenv('NOAUTH', 'false') }",