add ALLOW_ALL as env var to example
This commit is contained in:
parent
8fe4a0b7c0
commit
d2658b6fe6
|
@ -38,6 +38,7 @@ ORIGIN_URL='http://somesite.com' \
|
||||||
PROXY_URL='http://listen.com' \
|
PROXY_URL='http://listen.com' \
|
||||||
SSO_SECRET='somesecret' \
|
SSO_SECRET='somesecret' \
|
||||||
SSO_URL='http://somediscourse.com' \
|
SSO_URL='http://somediscourse.com' \
|
||||||
|
ALLOW_ALL='True' \
|
||||||
./discourse-auth-proxy
|
./discourse-auth-proxy
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,10 @@ if [ -z "$OK" ]; then
|
||||||
ORIGIN_URL=http://somesite.com
|
ORIGIN_URL=http://somesite.com
|
||||||
SSO_SECRET=somesecret
|
SSO_SECRET=somesecret
|
||||||
SSO_URL=http://someurl
|
SSO_URL=http://someurl
|
||||||
|
ALLOW_ALL=True
|
||||||
HOST_PORT=3001
|
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
|
EOF
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue