Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

Latest commit

 

History

History
65 lines (45 loc) · 1.71 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.71 KB

Minas Morgul

Table of Contents

Getting started

To get started with minas-morgul, you'd need to install the following tools:

  1. Docker
  2. Docker compose

The setup consists of a postgresql database and a docker containerized service delivered by Setu.

Developer Setup

To bring up a local developer setup,

1. Fill in configuration in docker-compose.yml

  • Fill in the switch server credentials:
      # Switch server credentials
      - HTTP_PROXY=http://<user>:<password>@<switch-server>.setu.co:<port>
      - ALL_PROXY=http://<user>:<password>@<switch-server>.setu.co:<port>
  • Fill in desired database credentials
      - POSTGRES_USER=minas-morgul
      - POSTGRES_PASSWORD=minas-morgul
      - POSTGRES_DB=minas-morgul
...
      - PGUSER=minas-morgul
      - PGPASSWORD=minas-morgul
      - PGDATABASE=minas-morgul
  • Fill other credentials as communicated.

2. Create a docker volume

Create a docker volume to store the postgresql database

docker volume create --name=minas-morgul_db

3. Bring up the setup

docker-compose up