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