diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..096d6f1 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +.PHONY: serve build +serve: build + docker run --name wgui -v "$(PWD)/db:/app/db" -it --rm -p5000:5000 wgui -disable-login +build: + docker build -t wgui . diff --git a/custom/css/darkmode.css b/custom/css/darkmode.css index 6c36fce..422ca53 100644 --- a/custom/css/darkmode.css +++ b/custom/css/darkmode.css @@ -92,4 +92,11 @@ .table-success { color: #000000; } + /* Customize Server Interface Addresses */ + div.tagsinput input:focus { + color: #bfbfbf !important; + } + div.tagsinput input { + color: #cde69c !important; + } } diff --git a/init.sh b/init.sh index a66e157..25e363a 100755 --- a/init.sh +++ b/init.sh @@ -18,6 +18,6 @@ case $WGUI_MANAGE_RESTART in (1|t|T|true|True|TRUE) done & esac -./wg-ui & trap 'kill 0; exit 0;' SIGTERM INT EXIT +./wg-ui "$@" & wait $!