log_folder = "logs" log_filename_prefix = "comments_" # available log levels increasing in the order of importance: trace, debug, info, warn, error log_level_on_terminal = "info" log_level_on_write = "debug" #-------------------------------------------------------------------------------------------------------------------------------------------------- # dev environment frontend_server_ip_address = "127.0.0.1:6060" # current server app_server_named_ip_address = "https://127.0.0.1:6070" # application that calls this comment app; use it for server to server interactions cert_path = "certs/cert.pem" # use it in dev environment key_path = "certs/key.rsa" # use it in dev environment # prod environment0 #frontend_server_ip_address = "0.0.0.0:6060" # current server #app_server_named_ip_address = "https://comment-app-demo.eastgate.in" # application that calls this comment app; use it for accessing images, files #cert_path = "/etc/letsencrypt/live/eastgate.in/fullchain.pem" # use it in prod environment #key_path = "/etc/letsencrypt/live/eastgate.in/privkey.pem" # use it in prod environment #-------------------------------------------------------------------------------------------------------------------------------------------------- app_server_local_ip_address = "https://127.0.0.1:6070" # application that calls this comment app; use it for server-to-server interactions app_server_session_path = "/session_user" # path to get application's session_user or logged user details app_server_commenter_path = "/commenter" app_server_avatar_path = "/avatar" avatar_anonymous_filename = "anonymous.svg" backend_server_ip_address = "http://127.0.0.1:6050" backend_server_comments_path = "/comments" backend_server_comments_total_path = "/comments_total" backend_server_comments_limited_path = "/comments/3" backend_server_more_comments_path = "/more_comments" backend_server_replies_path = "/replies" backend_server_comment_path = "/comment" backend_server_comment_message_path = "/comment_message" backend_server_reply_message_path = "/reply_message" backend_server_upvote_path = "/upvotes" backend_server_upvotes_count_path = "/upvotes_total" backend_server_downvote_path = "/downvotes" backend_server_downvotes_count_path = "/downvotes_total" resource_permissions = "./authorization_data/resource_permissions.json" user_roles = "./authorization_data/user_roles.json" max_reply_depth = 10 # how much deep reply of reply of reply can go max_comments = 100 # maximum how many comments are allowed max_replies = 100 # maximum how many replies can be made on a comment initial_message_length = 100 # number of characters to display initially; click 'more' to display remaining message comments_display_count_initial = 20 # number of comments that will be displayed at start up comments_display_count_additional = 10 # number of addl comments to display; initially 3, then 3+2=5, then 5+2=7, so on replies_display_count_initial = 10 # number of replies to be displayed at start up replies_display_count_additional = 5 # number of addl replies to display; initially 3, then 3+2=5, then 5+2=7, so on