aboutsummaryrefslogtreecommitdiff
path: root/shard
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-09-11 14:16:37 +0200
committerAlex Auvolat <alex@adnab.me>2018-09-11 14:16:37 +0200
commit562ab609022e08b18be09f863a987b1523726d4c (patch)
tree837e00c2f0cb59d370f954152cb1b7024590ef3c /shard
parent81b5a844a2a155e28c497a8ce671eb5f02803e5d (diff)
downloadshard-562ab609022e08b18be09f863a987b1523726d4c.tar.gz
shard-562ab609022e08b18be09f863a987b1523726d4c.zip
Deps update
Diffstat (limited to 'shard')
-rw-r--r--shard/config/config.exs4
1 files changed, 4 insertions, 0 deletions
diff --git a/shard/config/config.exs b/shard/config/config.exs
index f970078..5a08e12 100644
--- a/shard/config/config.exs
+++ b/shard/config/config.exs
@@ -32,6 +32,10 @@ use Mix.Config
# it is not recommended to use long suffixes.
config :shard, peer_id_suffix: "S"
+# Data directory
+# ==============
+config :shard, data_directory: Path.join [System.user_home, "shard", "data"]
+
# It is also possible to import configuration files, relative to this
# directory. For example, you can emulate configuration per environment