log_level |
|
LOG_LEVEL |
string |
logging level |
panic, fatal, error, warning, warn, info, debug, trace |
healthcheck_port |
|
HEALTHCHECK_PORT |
string |
port for healthcheck |
any valid port that is not occupied by other services. The string should not contain delimiters, only the port number |
host |
listen |
HOST |
string |
ip address or host to listen |
|
port |
listen |
PORT |
string |
port to listen |
The string should not contain delimiters, only the port number |
server_mode |
listen |
SERVER_MODE |
string |
Server listen mode, Rest API, gRPC or both |
GRPC, REST, BOTH |
allowed_headers |
listen |
|
[]string, array of strings |
list of all allowed custom headers. Need for REST API gateway, list of metadata headers, hat are passed through the gateway into the service |
any strings list |
service_name |
prometheus |
PROMETHEUS_SERVICE_NAME |
string |
service name, thats will show in prometheus |
|
server_config |
prometheus |
|
nested yml configuration metrics server config |
|
|
db_config |
|
|
nested yml configuration database config |
|
configuration for database connection |
jaeger |
|
|
nested yml configuration jaeger config |
configuration for jaeger connection |
|
addr |
image_storage_service |
IMAGE_STORAGE_ADDRESS |
string |
ip address(or host) with port of image storage service service |
all valid addresses formatted like host:port or ip-address:port |
secure_config |
image_storage_service |
|
nested yml configuration secure connection config |
|
|
base_profile_picture_url |
image_storage_service |
BASE_PROFILE_PICTURE_URL |
string |
url for getting a profile picture |
|
profile_picture_category |
image_storage_service |
PROFILE_PICTURE_CATEGORY |
string |
category on storage for profiles picture |
|
check_profile_picture_existance |
image_storage_service |
CHECK_PROFILE_PICTURE_EXISTENCE |
bool |
check profile picture existence before sending profile picture url or not |
|
addr |
image_processing_service |
IMAGE_PROCESSING_ADDRESS |
string |
category on storage for profiles picture |
|
secure_config |
image_processing_service |
|
nested yml configuration secure connection config |
|
|
resize_type |
image_processing_service |
RESIZE_TYPE |
string |
resizing method for profile picture |
Box,CatmullRom,Lanczos,Linear,MitchellNetravali,NearestNeighbor |
profile_picture_height |
image_processing_service |
PROFILE_PICTURE_HEIGHT |
int32 |
picture height after resize |
only positive values of int32 |
profile_picture_width |
image_processing_service |
PROFILE_PICTURE_WIDTH |
int32 |
picture width after resize |
only positive values of int32 |
allowed_types |
image_processing_service |
|
[]string, array of strings |
allowed images mime types |
only images mime types (like image/png) |
max_image_width |
image_processing_service |
MAX_IMAGE_WIDTH |
int32 |
max profile picture width |
only positive values of int32 |
max_image_height |
image_processing_service |
MAX_IMAGE_HEIGHT |
int32 |
max profile picture height |
only positive values of int32 |
min_image_width |
image_processing_service |
MIN_IMAGE_WIDTH |
int32 |
min profile picture width |
only positive values of int32 |
min_image_height |
image_processing_service |
MIN_IMAGE_HEIGHT |
int32 |
min profile picture height |
only positive values of int32 |
account_events |
|
|
nested yml configuration kafka reader config |
configuration for kafka connection |
|