add ALLOW_ALL as env var to example

This commit is contained in:
Huong Pham 2025-05-24 21:52:09 +03:00
parent 8fe4a0b7c0
commit d2658b6fe6
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ ORIGIN_URL='http://somesite.com' \
PROXY_URL='http://listen.com' \
SSO_SECRET='somesecret' \
SSO_URL='http://somediscourse.com' \
ALLOW_ALL='True' \
./discourse-auth-proxy
```

View File

@ -17,9 +17,10 @@ if [ -z "$OK" ]; then
ORIGIN_URL=http://somesite.com
SSO_SECRET=somesecret
SSO_URL=http://someurl
ALLOW_ALL=True
HOST_PORT=3001
docker run -d --restart=always -e ORIGIN_URL=\$ORIGIN_URL -e PROXY_URL=http://0.0.0.0:80 -e SSO_SECRET=\$SSO_SECRET -e SSO_URL=\$SSO_URL -p \$HOST_PORT:80 discourse/discourse-auth-proxy
docker run -d --restart=always -e ORIGIN_URL=\$ORIGIN_URL -e PROXY_URL=http://0.0.0.0:80 -e SSO_SECRET=\$SSO_SECRET -e SSO_URL=\$SSO_URL -e ALLOW_ALL=\$ALLOW_ALL -p \$HOST_PORT:80 discourse/discourse-auth-proxy
EOF
exit 1