diff --git a/README.md b/README.md index 864c12e..efa666a 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/dist/docker-entrypoint b/dist/docker-entrypoint index f4fed26..5ff7cf7 100755 --- a/dist/docker-entrypoint +++ b/dist/docker-entrypoint @@ -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