minio-proto-api
v1.10.1
Published
## Development Usage
Downloads
18
Readme
minio-proto-api
Development Usage
Create a local .env.js
file with the following variables set:
process.env.SDC_URL = 'https://us-sw-1.api.joyentcloud.com';
process.env.SDC_ACCOUNT = '';
process.env.SDC_KEY_ID = '';
process.env.SDC_KEY_PATH = '';
process.env.COOKIE_PASSWORD = '';
process.env.PORT = 8080;
process.env.DOCKER_CERT_PATH = '';
process.env.DOCKER_HOST = 'tcp://us-sw-1.docker.joyent.com:2376';
process.env.DOCKER_TLS_VERIFY = '1';
process.env.CF_ZONEID = '';
process.env.CF_EMAIL = '';
process.env.CF_KEY = '';
process.env.ARECORD_PARENT = '';
Create a local .allowed
file with the list of allowed account Ids:
YOUR_ACCOUNT_ID, ANOTHER_ACCOUNT_ID
$ npm run dev
$ open http://localhost:8080/graphiql
Create a bridge:
mutation {
createBridge(
directoryMap: "*:/stor/*", name: "bazquux")
{
bridgeId
}
}