mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
updated Dockerfile and env.env
This commit is contained in:
parent
df8bae662d
commit
3eb4414cca
2 changed files with 59 additions and 2 deletions
|
@ -39,7 +39,6 @@ ENV DEFAULT_MESSAGE_RETRIES 3
|
|||
ENV DEFAULT_METHOD_TIMEOUT 10
|
||||
ENV SUBSCRIBERS_DATA_FOLDER "./var"
|
||||
ENV CENTRAL_NODE_NAME "central"
|
||||
|
||||
ENV ROOT_CA_PATH ""
|
||||
ENV NKEY_SEED_FILE ""
|
||||
ENV EXPOSE_DATA_FOLDER "127.0.0.1:8090"
|
||||
|
@ -121,7 +120,7 @@ CMD ["ash","-c","env CONFIGFOLDER=./etc/ /app/steward\
|
|||
-startSubREQToFileAppend=${START_SUB_REQ_TO_FILE_APPEND}\
|
||||
-startSubREQToFile=${START_SUB_REQ_TO_FILE}\
|
||||
-startSubREQCopySrc=${START_SUB_REQ_COPY_SRC}\
|
||||
-StartSubREQCopyDst=${START_SUB_REQ_COPY_DST}\
|
||||
-startSubREQCopyDst=${START_SUB_REQ_COPY_DST}\
|
||||
-startSubREQToFileNACK=${START_SUB_REQ_TO_FILE_NACK}\
|
||||
-startSubREQPing=${START_SUB_REQ_PING}\
|
||||
-startSubREQPong=${START_SUB_REQ_PONG}\
|
||||
|
|
58
scripts/env.env
Normal file
58
scripts/env.env
Normal file
|
@ -0,0 +1,58 @@
|
|||
RING_BUFFER_PERSIST_STORE=true
|
||||
RING_BUFFER_SIZE=5
|
||||
CONFIG_FOLDER=./etc
|
||||
SOCKET_FOLDER=./tmp
|
||||
TCP_LISTENER=:8091
|
||||
HTTP_LISTENER=:8092
|
||||
DATABASE_FOLDER=./var/lib
|
||||
NODE_NAME=central
|
||||
BROKER_ADDRESS=<address>:<port>
|
||||
NATS_CONN_OPT_TIMEOUT "20"
|
||||
NATS_CONNECT_RETRY_INTERVAL=10
|
||||
NATS_RECONNECT_JITTER=100
|
||||
NATS_RECONNECT_JITTER_TLS=1
|
||||
REQ_KEYS_REQUEST_UPDATE_INTERVAL=60
|
||||
REQ_ACL_REQUEST_UPDATE_INTERVAL=60
|
||||
PROFILING_PORT=:6666
|
||||
PROM_HOST_AND_PORT=:2111
|
||||
DEFAULT_MESSAGE_TIMEOUT=10
|
||||
DEFAULT_MESSAGE_RETRIES=3
|
||||
DEFAULT_METHOD_TIMEOUT=10
|
||||
SUBSCRIBERS_DATA_FOLDER=./data/
|
||||
CENTRAL_NODE_NAME=central
|
||||
ROOT_CA_PATH=""
|
||||
NKEY_SEED_FILE=/run/secrets/seed
|
||||
EXPOSE_DATA_FOLDER=:8090
|
||||
ERROR_MESSAGE_RETRIES=10
|
||||
ERROR_MESSAGE_TIMEOUT=3
|
||||
|
||||
COMPRESSION=""
|
||||
SERIALIZATION=""
|
||||
SET_BLOCK_PROFILE_RATE=0
|
||||
ENABLE_SOCKET=true
|
||||
ENABLE_TUI=false
|
||||
ENABLE_SIGNATURE_CHECK=false
|
||||
ENABLE_ACL_CHECK=false
|
||||
IS_CENTRAL_AUTH=false
|
||||
ENABLE_DEBUG=false
|
||||
KEEP_PUBLISHERS_ALIVE_FOR=10
|
||||
|
||||
START_PUB_REQ_HELLO=60
|
||||
|
||||
ENABLE_KEY_UPDATES=true
|
||||
ENABLE_ACL_UPDATES=true
|
||||
IS_CENTRAL_ERROR_LOGGER=true
|
||||
START_SUB_REQ_HELLO=true
|
||||
START_SUB_REQ_TO_FILE_APPEND=true
|
||||
START_SUB_REQ_TO_FILE=true
|
||||
START_SUB_REQ_TO_FILE_NACK=true
|
||||
START_SUB_REQ_COPY_SRC=true
|
||||
START_SUB_REQ_COPY_DST=true
|
||||
START_SUB_REQ_PING=true
|
||||
START_SUB_REQ_PONG=true
|
||||
START_SUB_REQ_CLI_COMMAND=true
|
||||
START_SUB_REQ_TO_CONSOLE=true
|
||||
START_SUB_REQ_HTTP_GET=true
|
||||
START_SUB_REQ_HTTP_GET_SCHEDULED=true
|
||||
START_SUB_REQ_TAIL_FILE=true
|
||||
START_SUB_REQ_CLI_COMMAND_CONT=true
|
Loading…
Reference in a new issue