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