We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 673e78a commit c2fa8ddCopy full SHA for c2fa8dd
docker/images/ipfs/container-init.d/006-datastore.sh
@@ -0,0 +1,18 @@
1
+#!/bin/bash
2
+set -e
3
+
4
+if [ "${IPFS_DEBUG}" == "true" ]; then
5
+ set -x
6
+fi
7
8
+if [ -n "${IPFS_DATASTORE_STORAGEMAX}" ]; then
9
+ ipfs config Datastore.StorageMax "${IPFS_DATASTORE_STORAGEMAX}"
10
11
12
+if [ -N "${IPFS_DATASTORE_STORAGEGCWATERMARK}" ]; then
13
+ ipfs config Datastore.StorageGCWatermark "${IPFS_DATASTORE_STORAGEGCWATERMARK}"
14
15
16
+if [ -n "${IPFS_DATASTORE_GCPERIOD}" ]; then
17
+ ipfs config Datastore.GCPeriod "${IPFS_DATASTORE_GCPERIOD}"
18
0 commit comments