From 80b7b3caebea2dfee67c9213d78731ece53bd42e Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Mon, 19 Jul 2021 15:23:45 +0300 Subject: [PATCH] Bump http gateway version (#117) Signed-off-by: Stanislav Bogatyrev --- .env | 2 +- services/http_gate/docker-compose.yml | 5 +++-- services/http_gate/wallet.json | 30 +++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 services/http_gate/wallet.json diff --git a/.env b/.env index 547c132..32a877e 100644 --- a/.env +++ b/.env @@ -19,7 +19,7 @@ NODE_VERSION=0.22.3 NODE_IMAGE=nspccdev/neofs-storage # HTTP Gate -HTTP_GW_VERSION=0.15.1 +HTTP_GW_VERSION=0.16.0 HTTP_GW_IMAGE=nspccdev/neofs-http-gw # S3 Gate diff --git a/services/http_gate/docker-compose.yml b/services/http_gate/docker-compose.yml index 700d268..c58f62f 100644 --- a/services/http_gate/docker-compose.yml +++ b/services/http_gate/docker-compose.yml @@ -13,12 +13,13 @@ services: internet: ipv4_address: ${IPV4_PREFIX}.81 volumes: - - ./node.key:/node.key + - ./wallet.json:/wallet.json - ./../../vendor/hosts:/etc/hosts stop_signal: SIGKILL env_file: [ ".env", ".http.env" ] environment: - - HTTP_GW_KEY=/node.key + - HTTP_GW_WALLET=/wallet.json + - HTTP_GW_WALLET_PASSPHRASE=one - 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/wallet.json b/services/http_gate/wallet.json new file mode 100644 index 0000000..1525855 --- /dev/null +++ b/services/http_gate/wallet.json @@ -0,0 +1,30 @@ +{ + "version": "3.0", + "accounts": [ + { + "address": "NXCvzXiodftxHHNQBzvQ6EwG8xfn5kmnbj", + "key": "6PYXfN6BwDsQ8YnUBh32NX9J4241c1cits3wDWJoCMSqpJ7J9TxARcfQYv", + "label": "http-gw", + "contract": { + "script": "DCEDGmD8vsOtF5JojjPiUv5LTDuo0nlvrCwR/iHdm9IpLhtBVuezJw==", + "parameters": [ + { + "name": "parameter0", + "type": "Signature" + } + ], + "deployed": false + }, + "lock": false, + "isDefault": false + } + ], + "scrypt": { + "n": 16384, + "r": 8, + "p": 8 + }, + "extra": { + "Tokens": null + } +}