iGeeky d761d54c41 support http basic auth for wolf user 3 місяців тому
..
conf dc100f3d97 Modify the service default port (1008x->1218x) to fix chrome ERR_UNSAFE_PORT error 3 роки тому
lua d761d54c41 support http basic auth for wolf user 3 місяців тому
Dockerfile dc100f3d97 Modify the service default port (1008x->1218x) to fix chrome ERR_UNSAFE_PORT error 3 роки тому
README.md d761d54c41 support http basic auth for wolf user 3 місяців тому
entrypoint.sh d761d54c41 support http basic auth for wolf user 3 місяців тому

README.md

运行agent代理restful-demo

docker run -ti --rm --name wolf-agent-demo -p 10094:10094 \
-e BACKEND_URL=http://docker.for.mac.localhost:10090 \
-e RBAC_SERVER_URL=http://docker.for.mac.localhost:12180 \
-e RBAC_APP_ID=restful-demo \
-e AGENT_PORT=10094 \
-e EXTENSION_CONFIG="include /opt/wolf/agent/conf/no-permission-demo.conf;" \
igeeky/wolf-agent

运行agent代理openresty.org网站

docker run -ti --rm --name wolf-agent-or -p 10096:10096 \
-e BACKEND_URL=http://openresty.org \
-e RBAC_SERVER_URL=http://docker.for.mac.localhost:12180 \
-e RBAC_APP_ID=openresty \
-e AGENT_PORT=10096 \
igeeky/wolf-agent

运行agent使用本地配置进行开发测试

cd path/to/wolf/agent
docker run -ti --rm --name wolf-agent-or-dev -p 10096:10096 \
-e BACKEND_URL=http://openresty.org \
-e RBAC_SERVER_URL=http://docker.for.mac.localhost:12180 \
-e RBAC_APP_ID=openresty \
-e AGENT_PORT=10096 \
-e EXTENSION_CONFIG="include /opt/wolf/agent/conf/no-permission-demo.conf;" \
-e ACCESS_CHECK_LUA="basic_auth_access_check.lua" \
-v ./:/opt/wolf/agent \
igeeky/wolf-agent