RelayPresets: {
    development: {
        enableFileStorage: true;
        faith: false;
        host: "localhost";
        port: 8765;
        super: false;
    };
    production: {
        enableEviction: true;
        enableFileStorage: true;
        faith: true;
        host: "0.0.0.0";
        port: 8765;
        super: true;
    };
    test: {
        enableFileStorage: false;
        faith: false;
        host: "localhost";
        port: 8766;
        super: false;
    };
} = ...

Default relay configurations for common use cases

Type declaration

  • Readonlydevelopment: {
        enableFileStorage: true;
        faith: false;
        host: "localhost";
        port: 8765;
        super: false;
    }

    Development relay with basic configuration

  • Readonlyproduction: {
        enableEviction: true;
        enableFileStorage: true;
        faith: true;
        host: "0.0.0.0";
        port: 8765;
        super: true;
    }

    Production relay with enhanced configuration

  • Readonlytest: {
        enableFileStorage: false;
        faith: false;
        host: "localhost";
        port: 8766;
        super: false;
    }

    Test relay with minimal configuration