-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.yaml.sample
57 lines (47 loc) · 1.63 KB
/
config.yaml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# Config file for ipfs-sync
# It's highly recommended you set DB and Dirs before running the daemon.
#
# If using the default systemd script, it expects a config file to be in $USER/.ipfs-sync.yaml by default
#
# Path to file where db should be stored (example: "/home/user/.ipfs-sync.db")
DB:
# Verify filestore integrity on startup (ignored if no dirs use "nocopy")
VerifyFilestore: false
# Set the dirs to monitor:
Dirs:
## Unique identifier for the IPNS key
# - ID: Example1
## Full path of directory to sync
# Dir: /home/user/Documents/
## If true, use filestore (if enabled on IPFS daemon)
# Nocopy: false
## If true, will use filesize+modification date to track changes, instead of hashing. Recommended if you have a very large directory.
# DontHash: false
## If true, will pin the root directory
# Pin: false
## If true, and EstuaryAPIKey is set, will attempt to pin the CID via Estuary as well
# Estuary: false
# - ID: Example2
# Dir: /home/user/Pictures/
# Nocopy: false
# DontHash: false
# Pin: false
# API key for Estuary (optional, find out more at https://estuary.tech)
EstuaryAPIKey:
# Relative MFS directory path (default "/ipfs-sync/")
BasePath: /ipfs-sync/
# Node to connect to over HTTP (default "http://127.0.0.1:5001")
EndPoint: http://127.0.0.1:5001
# File extensions to ignore
Ignore:
- kate-swp
- swp
- part
- crdownload
# If true, ignore anything prefixed with "."
IgnoreHidden: true
# Time to sleep between IPNS syncs (ex: 120s) (default 10s)
Sync: 10s
# Timeout for simple commands like `version` and `files/mkdir`. Ignored for calls that are expected to take a while like `add`.
Timeout: 30s