added internal ports configuration
This commit is contained in:
parent
bc8e51d5ed
commit
f5d60dd6e7
@ -17,11 +17,12 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- EVENTSTORE_CLUSTER_SIZE=3
|
- EVENTSTORE_CLUSTER_SIZE=3
|
||||||
- EVENTSTORE_CLUSTER_DNS=eventstore
|
- EVENTSTORE_CLUSTER_DNS=eventstore
|
||||||
- EVENTSTORE_CLUSTER_GOSSIP_PORT=2112
|
- EVENTSTORE_CLUSTER_GOSSIP_PORT=${internal_http_port}
|
||||||
- EVENTSTORE_EXT_HTTP_PREFIXES=http://*:${external_http_port}/
|
- EVENTSTORE_EXT_HTTP_PREFIXES=http://*:${external_http_port}/
|
||||||
|
- EVENTSTORE_EXT_INT_HTTP_PORT=${internal_http_port}
|
||||||
|
- EVENTSTORE_EXT_INT_TCP_PORT=${internal_tcp_port}
|
||||||
- EVENTSTORE_EXT_HTTP_PORT=${external_http_port}
|
- EVENTSTORE_EXT_HTTP_PORT=${external_http_port}
|
||||||
- EVENTSTORE_EXT_TCP_PORT=${external_tcp_port}
|
- EVENTSTORE_EXT_TCP_PORT=${external_tcp_port}
|
||||||
#- HOST_PUBLIC_IP='$(scw-metadata PUBLIC_IP_ADDRESS)'
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- ${external_http_port}:${external_http_port}/tcp
|
- ${external_http_port}:${external_http_port}/tcp
|
||||||
|
@ -8,15 +8,23 @@ version: '2'
|
|||||||
maintainer: "Jérôme Rx <jerome@rouaix.eu>"
|
maintainer: "Jérôme Rx <jerome@rouaix.eu>"
|
||||||
uuid: ges-0
|
uuid: ges-0
|
||||||
questions:
|
questions:
|
||||||
|
- variable: "internal_http_port"
|
||||||
|
label: "Internal http (and gossip) port"
|
||||||
|
required: true
|
||||||
|
default: 2112
|
||||||
|
type: "int"
|
||||||
|
- variable: "internal_tcp_port"
|
||||||
|
label: "Internal tcp port"
|
||||||
|
required: true
|
||||||
|
default: 1112
|
||||||
|
type: "int"
|
||||||
- variable: "external_http_port"
|
- variable: "external_http_port"
|
||||||
description: "External http port"
|
label: "External http port"
|
||||||
label: "LB http port"
|
|
||||||
required: true
|
required: true
|
||||||
default: 2113
|
default: 2113
|
||||||
type: "int"
|
type: "int"
|
||||||
- variable: "external_tcp_port"
|
- variable: "external_tcp_port"
|
||||||
description: "External tcp port"
|
label: "External tcp port"
|
||||||
label: "LB tcp port"
|
|
||||||
required: true
|
required: true
|
||||||
default: 1113
|
default: 1113
|
||||||
type: "int"
|
type: "int"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user