From 64ec80db582874f26146dd770e90039f3ab3f523 Mon Sep 17 00:00:00 2001
From: Stanislav Bogatyrev <stanislav@nspcc.ru>
Date: Thu, 3 Dec 2020 14:25:05 +0300
Subject: [PATCH] Use separate key for http protocol gateway node

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
---
 services/http_gate/docker-compose.yml | 4 ++--
 services/http_gate/node.key           | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 services/http_gate/node.key

diff --git a/services/http_gate/docker-compose.yml b/services/http_gate/docker-compose.yml
index 29abf83..700d268 100644
--- a/services/http_gate/docker-compose.yml
+++ b/services/http_gate/docker-compose.yml
@@ -13,12 +13,12 @@ services:
       internet:
         ipv4_address: ${IPV4_PREFIX}.81
     volumes:
-      - ./user.key:/user.key
+      - ./node.key:/node.key
       - ./../../vendor/hosts:/etc/hosts
     stop_signal: SIGKILL
     env_file: [ ".env", ".http.env" ]
     environment:
-      - HTTP_GW_KEY=/user.key
+      - HTTP_GW_KEY=/node.key
       - HTTP_GW_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080
       - HTTP_GW_PEERS_0_WEIGHT=0.2
       - HTTP_GW_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080
diff --git a/services/http_gate/node.key b/services/http_gate/node.key
new file mode 100644
index 0000000..6528983
--- /dev/null
+++ b/services/http_gate/node.key
@@ -0,0 +1 @@
+/����Gk6?��)���[��a�l�����
\ No newline at end of file