Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pawamoy/docker-nginx-auth-request-django-shiny-example
Example using Docker, Nginx with auth-request module, and Django acting as a authentication wrapper around a Shiny app.
https://github.com/pawamoy/docker-nginx-auth-request-django-shiny-example
auth-request django docker docker-compose docker-example nginx proxy shiny
Last synced: 12 days ago
JSON representation
Example using Docker, Nginx with auth-request module, and Django acting as a authentication wrapper around a Shiny app.
- Host: GitHub
- URL: https://github.com/pawamoy/docker-nginx-auth-request-django-shiny-example
- Owner: pawamoy
- License: isc
- Created: 2018-03-13T17:45:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-05T20:07:44.000Z (4 months ago)
- Last Synced: 2024-10-04T13:13:41.668Z (about 1 month ago)
- Topics: auth-request, django, docker, docker-compose, docker-example, nginx, proxy, shiny
- Language: Python
- Size: 82 KB
- Stars: 22
- Watchers: 2
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - pawamoy/docker-nginx-auth-request-django-shiny-example - Example using Docker, Nginx with auth-request module, and Django acting as a authentication wrapper around a Shiny app. (Python)
README
# Docker example with NginX + Auth-Request module proxying to auth-acting Django server for Shiny app
This is a [Docker][] setup for a [Django] application acting as an authentication
and authorization server for a [Shiny] application, through the [NginX][]
reverse-proxy and [auth-request][] module.- We use [NginX][] as reverse proxy.
- We use [auth-request][] module to add an authorization step for each request
directed to Shiny.
- The initial [Shiny][] application main page is wrapped into a
[Django][]-powered page, so we can build an interface above [Shiny][],
with user and access rights management.A [Makefile][] is available for convenience. You might need to use `sudo make`
instead of just `make` because `docker` and `docker-compose` commands often needs
admin privilege.## Requirements
You need to install [Docker][] and [Docker-Compose][].## Build
`sudo make all`.## Run
`sudo make up`.## Help
`make` or `make help`.[auth-request]: https://nginx.org/en/docs/http/ngx_http_auth_request_module.html
[Docker]: https://www.docker.com/
[Django]: https://www.djangoproject.com/
[NginX]: https://www.nginx.com/
[Makefile]: https://www.gnu.org/software/make/manual/make.html
[Docker-Compose]: https://docs.docker.com/compose/
[Shiny]: https://shiny.rstudio.com/## Related blog post
[Django application as an authentication / authorization server for Shiny][post][post]: http://pawamoy.github.io/2018/03/15/django-auth-server-for-shiny/
## License
Software licensed under the [ISC license](/LICENSE).