Backend service for sample, neuron, and reconstruction management and search.
Note that these names are for the actual service environment. The names used in deployment schemes (e.g., docker-compose
)
may map other names to these. For example, NMCP_CCF_30_ONTOLOGY_PATH
for this service is set by NMCP_ONTOLOGY_PATH
on the host machine being mapped to NMCP_CCF_30_ONTOLOGY_PATH
for the api service instance in the nmcp-deploy
docker-compose
deployment repository.
In addition, some variables have SAMPLE_
as the prefix for historical reasons. Those should be considered equivalent to
a generic NCMP_
prefix.
NMCP_API_PORT
(default5000
)NMCP_API_ENDPOINT
(default/graphql
)
NMCP_DB_HOST
(default5432
)NMCP_DB_PORT
(defaultnmcp-db
)STATIC_API_PORT
(default5000
)STATIC_API_ENDPOINT
(defaultgraphql
)
NMCP_CCF_30_ONTOLOGY_PATH
- full path and file name for the CCF Ontology NRRD fileNMCP_SEED_USER_ITEMS
- (defaultfalse
) - convenience for development that will seed the database with a small number of samples and neurons
NMCP_DATABASE_UN
- (defaultpostgres
) - user name for postgres databaseNMCP_DATABASE_PW
- (defaultpgsecret
) - password for postgres databaseNMCP_AUTH_REQUIRED
(defaulttrue
) - configurable tofalse
only for development convenienceNMCP_AUTHENTICATION_KEY
- (optional, defaultnull
) - private key that will grant full API access for internal services, etc