mirror of
https://github.com/Blockstream/satellite-api.git
synced 2025-02-22 13:42:33 +01:00
TF: update tor + clightning
turn on chunked_transfer_encoding on the LB for SSE subscribers
This commit is contained in:
parent
f84e11fa85
commit
ead897b77c
4 changed files with 10 additions and 10 deletions
|
@ -141,6 +141,7 @@ write_files:
|
|||
|
||||
# Proxy to mainnet SSE container
|
||||
location /subscribe/ {
|
||||
chunked_transfer_encoding on;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_cache off;
|
||||
|
@ -171,7 +172,7 @@ write_files:
|
|||
|
||||
# Proxy to testnet SSE container
|
||||
location /testnet/subscribe/ {
|
||||
chunked_transfer_encoding off;
|
||||
chunked_transfer_encoding on;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_cache off;
|
||||
|
@ -202,7 +203,7 @@ write_files:
|
|||
|
||||
# Proxy to gossip SSE container
|
||||
location /gossip/subscribe/ {
|
||||
chunked_transfer_encoding off;
|
||||
chunked_transfer_encoding on;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_cache off;
|
||||
|
@ -260,7 +261,7 @@ write_files:
|
|||
|
||||
# Proxy to auth server's SSE container
|
||||
location /auth/subscribe/ {
|
||||
chunked_transfer_encoding off;
|
||||
chunked_transfer_encoding on;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_cache off;
|
||||
|
@ -299,7 +300,7 @@ write_files:
|
|||
|
||||
# Proxy to btc-src's SSE container
|
||||
location /btc-src/subscribe/ {
|
||||
chunked_transfer_encoding off;
|
||||
chunked_transfer_encoding on;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_cache off;
|
||||
|
|
|
@ -23,7 +23,7 @@ resource "google_compute_backend_service" "satapi-lb" {
|
|||
|
||||
resource "google_compute_backend_service" "satapi-lb-tor" {
|
||||
name = "${var.name}-tor-backend-service-${var.env}"
|
||||
description = "Satellite API"
|
||||
description = "Satellite API Tor"
|
||||
protocol = "HTTP"
|
||||
port_name = "http81"
|
||||
project = var.project
|
||||
|
|
|
@ -7,7 +7,7 @@ output "backend_service" {
|
|||
}
|
||||
|
||||
output "backend_service_tor" {
|
||||
value = length(google_compute_backend_service.satapi-lb) > 0 ? google_compute_backend_service.satapi-lb[0].self_link : ""
|
||||
value = length(google_compute_backend_service.satapi-lb-tor) > 0 ? google_compute_backend_service.satapi-lb-tor[0].self_link : ""
|
||||
}
|
||||
|
||||
output "internal_ip" {
|
||||
|
|
|
@ -214,20 +214,19 @@ variable "ionosphere_sse_docker" {
|
|||
}
|
||||
|
||||
# Less frequently updated images
|
||||
# v0.9.3
|
||||
variable "lightning_docker" {
|
||||
type = string
|
||||
default = "blockstream/lightningd@sha256:8c7a54ff6fbcb9664a8e74b08884d21de203df64f3cc18dc243b79751f586981"
|
||||
default = "blockstream/lightningd:v0.10.2"
|
||||
}
|
||||
|
||||
variable "charge_docker" {
|
||||
type = string
|
||||
default = "blockstream/charged@sha256:bcc5f91643f03bd97601471d335f133d75455d096054f01c15d332138a55a49c"
|
||||
default = "blockstream/charged:v0.4.23"
|
||||
}
|
||||
|
||||
variable "tor_docker" {
|
||||
type = string
|
||||
default = "blockstream/tor:0.4.3.7"
|
||||
default = "blockstream/tor:0.4.6.8"
|
||||
}
|
||||
|
||||
variable "node_exporter_docker" {
|
||||
|
|
Loading…
Add table
Reference in a new issue