A newer version of this documentation is available.

View Latest

Bootstrap Configuration

      +

      Reference data on the contents of Sync Gateway’s bootstrap configuration, which determines its run time behavior.

      Pre-3.0 Legacy Configuration Equivalents

      This content describes configuration for Sync Gateway 3.0 and higher — for legacy configuration, see: Legacy Pre-3.0 Configuration

      Introduction

      The Sync Gateway bootstrap configuration is provisioned in a JSON format file. The configuration properties define sync gateway’s runtime behavior. See the schema below for more details on these properties.

      Sync gateway will look for the following configuration file unless you direct it otherwise:
      /home/sync_gateway/sync_gateway.json

      Use the following command to run Sync Gateway with a configuration file:

      sync_gateway sync-gateway-bootstrap.json

      Bootstrap Configuration Schema

      This schema identifies all the configurable properties.