Update to new NeoFS S3 release

- fixes for newest s3 api
- add listen domain option

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
This commit is contained in:
Evgeniy Kulikov 2020-12-10 18:28:42 +03:00 committed by Stanislav Bogatyrev
parent 2e39b32cac
commit ffd549be4d
3 changed files with 3 additions and 1 deletions

2
.env
View file

@ -22,5 +22,5 @@ HTTP_GW_VERSION=0.12.1
HTTP_GW_IMAGE=nspccdev/neofs-http-gate HTTP_GW_IMAGE=nspccdev/neofs-http-gate
# S3 Gate # S3 Gate
S3_GW_VERSION=0.12.0-rc.2 S3_GW_VERSION=0.12.0-rc.3
S3_GW_IMAGE=nspccdev/neofs-s3-gate S3_GW_IMAGE=nspccdev/neofs-s3-gate

View file

@ -1 +1,2 @@
IPV4_PREFIX.82 s3.LOCAL_DOMAIN IPV4_PREFIX.82 s3.LOCAL_DOMAIN
IPV4_PREFIX.82 *.s3.LOCAL_DOMAIN

View file

@ -27,6 +27,7 @@ services:
- S3_GW_TLS_KEY_FILE=/tls.key - S3_GW_TLS_KEY_FILE=/tls.key
- S3_GW_TLS_CERT_FILE=/tls.crt - S3_GW_TLS_CERT_FILE=/tls.crt
- S3_GW_LISTEN_ADDRESS=s3.${LOCAL_DOMAIN}:8080 - S3_GW_LISTEN_ADDRESS=s3.${LOCAL_DOMAIN}:8080
- S3_GW_LISTEN_DOMAINS_0=s3.${LOCAL_DOMAIN}
- S3_GW_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080 - S3_GW_PEERS_0_ADDRESS=s01.${LOCAL_DOMAIN}:8080
- S3_GW_PEERS_0_WEIGHT=0.2 - S3_GW_PEERS_0_WEIGHT=0.2
- S3_GW_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080 - S3_GW_PEERS_1_ADDRESS=s02.${LOCAL_DOMAIN}:8080