mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
own auth
This commit is contained in:
@@ -31,12 +31,7 @@ RUN useradd -r -d / packer \
|
||||
&& cd - \
|
||||
&& rm -rf /tmp/packer-color
|
||||
|
||||
COPY testenv/customizepkg.nginx /etc/customizepkg.d/nginx-mainline-mod-ndk
|
||||
COPY testenv/customizepkg.nginx /etc/customizepkg.d/nginx-mainline-mod-lua
|
||||
|
||||
RUN pacman -Syy \
|
||||
&& user-packer -S --noconfirm \
|
||||
customizepkg \
|
||||
&& mkdir /.npm \
|
||||
&& chmod 777 /.npm \
|
||||
&& user-packer -S --noconfirm \
|
||||
@@ -50,7 +45,6 @@ RUN pacman -Syy \
|
||||
htmlhint \
|
||||
eslint \
|
||||
&& rm -rf /.npm \
|
||||
&& env MAKEPKGOPTS="--skipchecksums --skippgpcheck" user-packer -S --noconfirm nginx-mainline-mod-lua \
|
||||
&& pacman -Sc --noconfirm
|
||||
|
||||
COPY testenv/requirements.txt requirements.txt
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
replace#global#_nginxver=.*#_nginxver=`pacman -Q nginx-mainline | grep -Po "\\d+\\.\\d+\\.\\d+"`
|
||||
@@ -4,6 +4,9 @@ kvmd:
|
||||
port: 8081
|
||||
heartbeat: 3.0
|
||||
|
||||
auth:
|
||||
htpasswd: /etc/kvmd/htpasswd
|
||||
|
||||
info:
|
||||
meta: /etc/kvmd/meta.yaml
|
||||
extras: /usr/share/kvmd/extras
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
git+git://github.com/willbuckner/rpi-gpio-development-mock@master#egg=rpi
|
||||
aiohttp
|
||||
aiofiles
|
||||
passlib
|
||||
pyudev
|
||||
pyyaml
|
||||
pyserial
|
||||
|
||||
@@ -33,7 +33,7 @@ deps =
|
||||
|
||||
[testenv:eslint]
|
||||
whitelist_externals = eslint
|
||||
commands = eslint --config=testenv/eslintrc.yaml --color --ext .js web/js
|
||||
commands = eslint --config=testenv/eslintrc.yaml --color --ext .js web/share/js
|
||||
|
||||
[testenv:htmlhint]
|
||||
whitelist_externals = htmlhint
|
||||
|
||||
Reference in New Issue
Block a user