Infrastructure provides functionality for using RPC & Indexer as a service.
Please read Development and Debug and Test documentation. These instructions will help you set up the development environment and run the microservice locally.
Environment variables that have to be set:
/************************************************************
* INFRASTRUCTURE - Apillon Infrastructure Service
************************************************************/
/**
* function name
*/
INFRASTRUCTURE_FUNCTION_NAME: string;
INFRASTRUCTURE_FUNCTION_NAME_TEST: string;
/**
* INFRASTRUCTURE dev server port
*/
INFRASTRUCTURE_SOCKET_PORT: number;
INFRASTRUCTURE_SOCKET_PORT_TEST: number;
/**
* INFRASTRUCTURE Database config
*/
INFRASTRUCTURE_MYSQL_HOST: string;
INFRASTRUCTURE_MYSQL_PORT: number;
INFRASTRUCTURE_MYSQL_USER: string;
INFRASTRUCTURE_MYSQL_PASSWORD: string;
INFRASTRUCTURE_MYSQL_DEPLOY_USER: string;
INFRASTRUCTURE_MYSQL_DEPLOY_PASSWORD: string;
INFRASTRUCTURE_MYSQL_DATABASE: string;
// TEST
INFRASTRUCTURE_MYSQL_HOST_TEST: string;
INFRASTRUCTURE_MYSQL_PORT_TEST: number;
INFRASTRUCTURE_MYSQL_USER_TEST: string;
INFRASTRUCTURE_MYSQL_PASSWORD_TEST: string;
INFRASTRUCTURE_MYSQL_DATABASE_TEST: string;
/**
* Infrastructure workers config
*/
INFRASTRUCTURE_AWS_WORKER_SQS_URL: string;
INFRASTRUCTURE_AWS_WORKER_LAMBDA_NAME: string;
Please read Deployment documentation.
Copyright (c) Apillon - all rights reserved