Keyshade Alpha is launching April 30th 5:00 PM IST
Join our Launch Party
keyshade docs
GithubDiscordReddit
  • 👋What is keyshade?
  • Getting Started
    • Introduction
    • Adding your first secret and variable
    • Installing the CLI
    • Setting up your profile
    • Add keyshade to your project
    • Running your app
  • CLI
    • Introduction
    • Profile
    • Init
    • Workspace
    • Project
    • Environment
    • Run
    • Scan
  • 🥰CONTRIBUTING TO KEYSHADE
    • Summary
    • Design of our code
      • Organization of code
      • API
      • CLI
      • Web
      • Integrations
    • Prerequisites
    • Environment Variables
    • Setting things up
    • Running things locally
      • Running the API
      • Running the Web
      • Running the Platform
      • Running the CLI
      • API Testing
      • Docker Support
  • Internals
    • Architecture of keyshade
    • How the CLI works
Powered by GitBook
On this page
  • Prerequisites
  • Available Applications
  • Building and Running Applications
  • Environment Variables
  • Starting and Stopping Services
  • Web Application
  • API
  • Platform
  • Port Usage

Was this helpful?

Edit on GitHub
  1. CONTRIBUTING TO KEYSHADE
  2. Running things locally

Docker Support

Instructions on how to build & run each part of keyshade using docker

This document provides instructions on how to build and run our applications using Docker.

Prerequisites

  • Docker must be installed on your system.

Available Applications

We have Docker support for the following applications:

  1. Web Application

  2. API

  3. Platform

Building and Running Applications

Environment Variables

All applications use environment variables from a .env file. Ensure this file is present in your project root directory with the necessary configurations.

Starting and Stopping Services

For a quick way to start up all containers(Web, API and Platform) you can simply run:

docker compose up -d

To stop and remove all services:

docker compose down

Web Application

To build the web application:

pnpm docker:build:web

To run the web application:

pnpm docker:run:web

API

To build the API:

pnpm docker:build:api

To run the API:

pnpm docker:run:api

Platform

To build the platform:

pnpm docker:build:platform

To run the platform:

pnpm docker:run:platform

Port Usage

The applications use the following ports by default:

  • Web Application: 3000

  • API: 4200

  • Platform: 3025

Ensure these ports are available on your system. If you need to use different ports, you can modify the port mappings in the package.json file locally.

For more detailed information about Docker usage, refer to the official Docker documentation.

PreviousAPI TestingNextArchitecture of keyshade

Last updated 7 months ago

Was this helpful?

🥰