Refactor to use LuaJIT and improve performance
Integrate LuaJIT as an optional runtime for better performance, with a fallback to standard Lua 5.4. Update Dockerfile to install LuaJIT and create a wrapper script for execution. Enhance network module with socket fallback support and update README to reflect these changes and configuration options.
This commit is contained in:
@@ -20,6 +20,7 @@ services:
|
||||
WOL_MAC: "${WOL_MAC}"
|
||||
WOL_BCAST: "${WOL_BCAST:-192.168.222.255}" # optional
|
||||
WOL_PORT: "${WOL_PORT:-9}" # optional
|
||||
USE_LUAJIT: "${USE_LUAJIT:-true}" # optional: use LuaJIT for better performance (default: true)
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
Reference in New Issue
Block a user