forked from usdot-jpo-ode/jpo-conflictmonitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.env
104 lines (87 loc) · 3.37 KB
/
sample.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
###################################
# JPO ConflictMonitor Docker Environment File #
###################################
# WARNING! The contents of this file may be sensitive. Take care not to add to source control.
#
# Instructions:
# Rename this file from `sample.env` to `.env` and Docker will automatically pick up the variables.
#
# Description:
# This file aggregates all the variables used in docker-compose.yml for ease of use. Variables are
# prefixed with the format DESTINATION_MESSAGETYPE_ to provide guidance. Some variables are filled
# out with commonly used values.
###################################
####################
# General Properties
# (Required) The IP address of Docker host machine which can be found by running "ifconfig"
# Hint: look for "inet addr:" within "eth0" or "en0" for OSX
DOCKER_HOST_IP=
KAFKA_BOOTSTRAP_SERVERS=${DOCKER_HOST_IP}:9092
CONNECT_URL=http://${DOCKER_HOST_IP}:8083
# GitHub properties for pulling the latest version of the JPO-ODE
MAVEN_GITHUB_TOKEN=
MAVEN_GITHUB_ORG=usdot-jpo-ode
# Docker compose restart policy: https://docs.docker.com/engine/containers/start-containers-automatically/
RESTART_POLICY="on-failure:3"
# Available profiles:
# - all
# - cm_full
# - conflictmonitor-build
# - geojsonconverter
# - ode
# - adm
# - cm_base
# - conflictmonitor-build
# - cm_build
# - conflictmonitor-build
# - cm_release
# - conflictmonitor-release
# - ode_geojsonconverter
# - geojsonconverter
# - ode
# - adm
# EXAMPLE: COMPOSE_PROFILES=kafka_connect_standalone,kafka_ui,mongo_express
# Refer to jpo-utils/.env for more profiles
COMPOSE_PROFILES=cm_full,kafka_connect_standalone,kafka_setup,kafka_ui
# Set to "CONFLUENT" if broker is a Confluent Cloud broker
KAFKA_TYPE=
# Set to actual Confluent Cloud access key and secret values for SASL authentication
CONFLUENT_KEY=
CONFLUENT_SECRET=
####################
# Overriding variables in jpo-utils/.env
# For more information, refer to jpo-utils/README.md
MONGO_DB_NAME=CV
# Setup MongoDB username and password
MONGO_ADMIN_DB_USER=root
MONGO_ADMIN_DB_PASS=root
MONGO_READ_WRITE_USER=ode
MONGO_READ_WRITE_PASS=ode
MONGO_READ_USER=user
MONGO_READ_PASS=user
MONGO_EXPORTER_USERNAME=export
MONGO_EXPORTER_PASSWORD=export
# Generate a random string for the MongoDB keyfile using the following command:
# $ openssl rand -base64 32
MONGO_DB_KEYFILE_STRING="xgxPRfDpAoLv4rOwA0sVkQC0nEBfRYsnEgdH3knku+4="
# RocksDB Bounded Memory Config Properties
# 128 MB = 134217728
# 64 MB = 67108864
# 16 MB = 16777216
ROCKSDB_TOTAL_OFF_HEAP_MEMORY=134217728
ROCKSDB_INDEX_FILTER_BLOCK_RATIO=0.1
ROCKSDB_TOTAL_MEMTABLE_MEMORY=67108864
ROCKSDB_BLOCK_SIZE=4096
ROCKSDB_N_MEMTABLES=2
ROCKSDB_MEMTABLE_SIZE=16777216
# Set these to true to enable event aggregation for a given even topic. Note - this will disable regular event generation for that message type.
ENABLE_AGGREGATE_INTERSECTION_REFERENCE_ALIGNMENT_EVENTS=false
ENABLE_AGGREGATE_SIGNAL_GROUP_ALIGNMENT_EVENTS=false
ENABLE_AGGREGATE_SIGNAL_STATE_CONFLICT_EVENTS=false
ENABLE_AGGREGATE_MAP_MINIMUM_DATA_EVENTS=false
ENABLE_AGGREGATE_SPAT_TIME_CHANGE_DETAILS_EVENTS=false
ENABLE_AGGREGATE_SPAT_MINIMUM_DATA_EVENTS=false
ENABLE_AGGREGATE_MAP_MESSAGE_COUNT_PROGRESSION=false
ENABLE_AGGREGATE_SPAT_MESSAGE_COUNT_PROGRESSION=false
ENABLE_AGGREGATE_BSM_MESSAGE_COUNT_PROGRESSION=false
ENABLE_AGGREGATE_EVENT_STATE_PROGRESSION=false