-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.yml
53 lines (45 loc) · 1.78 KB
/
sample.yml
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
BASIC_AUTH_USERNAME: "admin"
BASIC_AUTH_PASSWORD: "admin"
APP:
ENV: 'development' # Default environment is set to 'development'
APP_LOG_DIR: '/var/log/app' # Default log directory path
APP_LOG_NAME: 'logs.log' # Default log file name
SSL_CONTEXT: True # Default to using SSL context
LOG_FILES:
CONSUMER: 'consumer.log'
FRONTEND: 'frontend.log'
LOGGER: 'logger.log'
MONGO:
URI: ''
CONSUMER:
CWD: '/path/to/consumer' # Default current working directory
COMMAND: 'python consumer.py' # Default consumer command
RETRY:
MAX_RETRY: 3 # Default maximum number of retries
RETRY_DELAY: 5 # Default retry delay (in seconds)
RETRY_BACKOFF_FACTOR: 2 # Default retry backoff factor
REAL_TIME_LOGGER:
SOCKET_URL: 'http://localhost:9001/logger'
NOTIFICATION:
SUBJECT: 'Consumer Stopped - Logs' # Default email subject
LOG_NUM_LINES: 100 # Default number of log lines to include
SENDGRID:
API_KEY: 'your_sendgrid_api_key' # Default SendGrid API key
FROM: 'noreply@example.com' # Default sender email
TO: 'admin@example.com' # Default recipient email
DISCORD:
WEBHOOK_URL: 'your_discord_webhook_url' # Default Discord webhook URL
RMQ:
ERRORS_THRESHOLD_LIMIT: 5 # Default error threshold limit
SERVER: 'rabbitmq.example.com' # Default RabbitMQ server address
USER: 'guest' # Default RabbitMQ username
PASS: 'guest' # Default RabbitMQ password
PORT: 5672 # Default RabbitMQ port
EXCHANGE:
NAME: 'my_exchange' # Default exchange name
TYPE: 'topic' # Default exchange type
QUEUE: 'my_queue' # Default queue name
TIMEOUT: 300 # Default timeout value
HEARTBEAT: 60 # Default heartbeat interval (in seconds)
ROUTING_KEYS: [ 'key.default' ] # Default routing key list
JOBS_LIMIT: 6 # Default maximum number of concurrent jobs