Skip to content

RAHUL1115/keyclock-fastapi-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose RBAC Demo

This repository demonstrates a simple role-based access control (RBAC) setup using Docker Compose. The application has two predefined users:

In this demo, users will log in to the app, and depending on their roles, they will have different access privileges.

Prerequisites

Ensure you have the following installed:

Setup

Follow these steps to get the application up and running with Docker Compose:

  1. Clone the repository:
git clone <your-repository-url> cd <your-repository-directory>
  1. Start the application with Docker Compose: Run the following command to start all services defined in the docker-compose.yml file:
docker-compose up -d

This will create and start the containers in the background.

  1. Access the application: Open your browser and go to the application URL (http://localhost:8000>).

  2. Login as User:

  • Go to the login page.
  • Use the following credentials to log in:
  • Upon successful login, click on the check button to check the status.
  1. Login as User:
  • Go to the login page.
  • Use the following credentials to log in:
  • Upon successful login, click on the check button to check the status.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published