-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
86 lines (84 loc) · 2.14 KB
/
config.toml
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
[dockerdev]
host = "0.0.0.0"
port = 9000
# LOGGING
log_level = "trace"
logs_path = "" # empty for STDOUT
log_to_stdout = true # additional logging to STDOUT
# NETLOG BACKUP
netlog_unix_socket_addr_dir = "/var/tmp/serj-service"
netlog_unix_socket_file_name = "netlog-backup.sock"
# PROMETHEUS METRICS
prometheus_metrics_port = "2112"
prometheus_metrics_host = "0.0.0.0"
# POSGRES
postgres_port = "5432"
postgres_host = "postgres"
postgres_db_name = "serj_blogs"
# REDIS
redis_host = "redis"
redis_port = "6379"
# QUOTES FILE
quotes_csv_path = "./assets/quotes.csv"
# SENTRY
sentry_enabled = false
# GYMSTATS
gymstats_disk_api_root_path = "/var/gymstats"
# OTHER
login_rate_limit_allowed_per_min = 15
[development]
host = "localhost"
port = 9000
# LOGGING
log_level = "trace"
logs_path = "" # empty for STDOUT
log_to_stdout = true # additional logging to STDOUT
# NETLOG BACKUP
netlog_unix_socket_addr_dir = "/var/tmp/serj-service"
netlog_unix_socket_file_name = "netlog-backup.sock"
# PROMETHEUS METRICS
prometheus_metrics_port = "2112"
prometheus_metrics_host = "localhost"
# POSGRES
postgres_port = "5432"
postgres_host = "localhost"
postgres_db_name = "serj_blogs"
# REDIS
redis_host = "localhost"
redis_port = "6379"
# QUOTES FILE
quotes_csv_path = "./assets/quotes.csv"
# SENTRY
sentry_enabled = false
# GYMSTATS
gymstats_disk_api_root_path = "/var/tmp/gymstats"
# OTHER
login_rate_limit_allowed_per_min = 15
[production]
host = "localhost"
port = 1988
# LOGGING
log_level = "trace"
logs_path = "/var/log/serj-tubin-backend/service.log"
log_to_stdout = false # additional logging to STDOUT
# NETLOG BACKUP
netlog_unix_socket_addr_dir = "/var/tmp/serj-service" # TODO: change to use /var/run
netlog_unix_socket_file_name = "netlog-backup.sock"
# PROMETHEUS METRICS
prometheus_metrics_port = "2112"
prometheus_metrics_host = "localhost"
# POSGRES
postgres_port = "5432"
postgres_host = "localhost"
postgres_db_name = "serj_blogs"
# REDIS
redis_host = "162.55.179.82"
redis_port = "6379"
# QUOTES FILE
quotes_csv_path = "./assets/quotes.csv"
# SENTRY
sentry_enabled = true
# GYMSTATS
gymstats_disk_api_root_path = "/home/serj/gymstats-data"
# OTHER
login_rate_limit_allowed_per_min = 15