Skip to content

TheDim0n/PassLocker

Repository files navigation

PassLocker

Another secret keys storage tool.

Please use this project locally for more security.

Contents:

  1. Technology stack
  2. Download the project
  3. Setup environment variables
  4. Run with Docker

Technology stack

FastAPIAngularPostgresNginxDocker

Download

git clone https://github.com/TheDim0n/PassLocker.git passlocker
cd passlocker
git submodule update --init

Environments

Create .env file in project directory:

SECRET_KEY= # secret key for generating JWT
DEFAULT_USER_LOGIN= # your username, must be at least 4 characters
DEFAULT_USER_PASSWORD= # your password, must be at least 8 characters
ACCESS_TOKEN_EXPIRES_MINUTES= # JWT lifetime in minutes
PROXY_PORT= # published port (of your machine)

Run with Docker

docker-compose up -d

or

docker-compose up --build -d

Navigate to http://localhost:<PROXY_PORT>

Docs available at http://localhost:<PROXY_PORT>/api/docs or http://localhost:<PROXY_PORT>/api/redoc