From 7b6042205e7c6135fae4e0d21dbf7a5975e8491b Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 11 Oct 2018 11:02:35 +0200 Subject: Clean up --- shard/config/config.exs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'shard/config') diff --git a/shard/config/config.exs b/shard/config/config.exs index 55eda61..215a76a 100644 --- a/shard/config/config.exs +++ b/shard/config/config.exs @@ -22,6 +22,12 @@ use Mix.Config # +# P2P Port +# ======== +# This is the port Shard will listen on for P2P connections. +config :shard, port: elem (Integer.parse ((System.get_env "PORT") || "4044")), 0 + + # Network secret # ============== # The secret value that identifies the shard network this peer -- cgit v1.2.3