https://github.com/ryan-haskell/docker-auth-demo
Adding a decoupled authentication layer with Docker.
https://github.com/ryan-haskell/docker-auth-demo
authentication docker nginx
Last synced: 2 months ago
JSON representation
Adding a decoupled authentication layer with Docker.
- Host: GitHub
- URL: https://github.com/ryan-haskell/docker-auth-demo
- Owner: ryan-haskell
- Created: 2018-02-16T03:03:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-19T19:43:23.000Z (over 8 years ago)
- Last Synced: 2025-10-02T17:54:23.192Z (9 months ago)
- Topics: authentication, docker, nginx
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker | Authentication Demo
> Adding a decoupled authentication layer with Docker.
### Overview
Instead of having your web application be responsible for authentication, it might be useful to have a separate service like NGINX protect your app from unauthorized viewers.
This project creates a `web` and `auth` service, and only exposes ports of the `auth` to the outside world.
All requests are first filtered through this `auth` service, to prevent anonymous access to the `web` app.
### Check it out!
1. Install [Docker](https://www.docker.com/)
1. Run `docker-compose up`
1. Go to [http://localhost:7000](http://localhost:7000) with these credentials:
- Username: `username`
- Password: `password`