diff --git a/src/core/runtime/config-nodejs.js b/src/core/runtime/config-nodejs.js index 5b301d1e20..ec03e71c8e 100644 --- a/src/core/runtime/config-nodejs.js +++ b/src/core/runtime/config-nodejs.js @@ -9,6 +9,34 @@ module.exports = () => ({ API: '/ip4/127.0.0.1/tcp/5002', Gateway: '/ip4/127.0.0.1/tcp/9090' }, + Datastore: { + Spec: { + type: 'mount', + mounts: [ + { + mountpoint: '/blocks', + type: 'measure', + prefix: 'flatfs.datastore', + child: { + type: 'flatfs', + path: 'blocks', + sync: true, + shardFunc: '/repo/flatfs/shard/v1/next-to-last/2' + } + }, + { + mountpoint: '/', + type: 'measure', + prefix: 'leveldb.datastore', + child: { + type: 'levelds', + path: 'datastore', + compression: 'none' + } + } + ] + } + }, Discovery: { MDNS: { Enabled: true, diff --git a/test/fixtures/go-ipfs-repo/version b/test/fixtures/go-ipfs-repo/version index 62f9457511..c7930257df 100644 --- a/test/fixtures/go-ipfs-repo/version +++ b/test/fixtures/go-ipfs-repo/version @@ -1 +1 @@ -6 \ No newline at end of file +7 \ No newline at end of file