Project Services

A service is your actual code repository or database running on project server. A project can have multiple services.

Types of services

  1. Frontend

    1. React
    2. Angular
    3. Vue
    4. Svelte
  2. Backend

    1. Node
    2. Python
    3. Go
  3. Database

    1. MongoDB
    2. MySQL
    3. Postgres

List of services

View list of services by selecting a project.

Creating a service

Select your project and click on New Service button to add a new service.

1. Frontend service

Project Service List

Click on Add Service button and fill in the information as follows:

  1. Service type, select Frontend
  2. Framework, select the framework, eg: React
  3. Service name, enter a name for your service
  4. Repository, select the repository from your VCS account
  5. Advance Configurations (optional, auto filled in upon saving the service)
    1. Port - enter port on which you'd like to run this service on
    2. URL - Either domain name full URL (https://examaple.com) or IP address of server
    3. Build command - enter build command for your service eg: npm run build
    4. Start command - enter build command for your service eg: npm run start
    5. Environment Variables - enter environment variables with KEY=VALUE pair
    6. Folder - if you have multiple projects in same repository, provide folder path for this service in the repository

When you put a URL with domain name (eg: https://example.com), Deploy Monk provisions a free SSL certificate via Let's Encrypt. The certificate will be automatically renewed.

2. Backend service

Project Service List

Click on Add Service button and fill in the information as follows:

  1. Service type, select Backend
  2. Framework, select the framework, eg: Node
  3. Service name, enter a name for your service
  4. Repository, select the repository from your VCS account
  5. Advance Configurations (optional, auto filled in upon saving the service)
    1. Port - enter port on which you'd like to run this service on
    2. URL - Either domain name full URL (https://api.examaple.com) or IP address of server
    3. Build command - enter build command for your service eg: npm run build
    4. Start command - enter build command for your service eg: npm run start
    5. Environment Variables - enter environment variables with KEY=VALUE pair
    6. Folder - if you have multiple projects in same repository, provide folder path for this service in the repository

When you put a URL with domain name (eg: https://api.example.com), Deploy Monk provisions a free SSL certificate via Let's Encrypt. The certificate will be automatically renewed.

3. Database service

Project Service List

Click on Add Service button and fill in the information as follows:

  1. Database Type - type of database (MongoDB, Postgres or MySQL)
  2. Advance Configurations
    1. Port - set port on which the database will run on (optional, auto filled in upon saving the service)
    2. Database name - set name of database when initializing the database for first time
    3. Database user - set default user when initializing the database for first time
    4. Database password - set password for default user when initializing the database for first time

Note

You can read in detail on how to work with and deploy each type of services in the next sections.