-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhosts-config-example
97 lines (85 loc) · 4 KB
/
hosts-config-example
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
---
otnodes:
hosts:
replace_this_with_server1_domain_or_ip:
node_name: 'SERVER NAME IN TELEGRAM NOTIFICATIONS'
op_pub_key: 'OPERATIONAL WALLET PUBLLIC KEY'
op_priv_key: 'OPERATIONAL WALLET PRIVATE KEY'
initial_deposit_amount: 'INITIAL DEPOSIT AMOUNT'
replace_this_with_server2_domain_or_ip:
node_name: 'SERVER NAME IN TELEGRAM NOTIFICATIONS'
op_pub_key: 'OPERATIONAL WALLET PUBLLIC KEY'
op_priv_key: 'OPERATIONAL WALLET PRIVATE KEY'
initial_deposit_amount: 'INITIAL DEPOSIT AMOUNT'
vars:
############## GLOBAL OT NODE VARIABLES ##################
mgmt_pub_key: 'MANAGEMENT WALLET PUBLIC KEY'
gas_price: 'GAS PRICE'
dh_price_factor: 'GLOBALDHPRICEFACTOR'
dh_max_holding_time_in_minutes: 'GLOBALMAXHOLDINGTIME'
############## GLOBAL AWS VARIABLES ######################
aws_access_key_id: 'GLOBALAWSACCESSKEY'
aws_secret_access_key: 'GLOBALAWSSECRETKEY'
############## GLOBAL TELEGRAM VARIABLES #################
telegram_bot_token: 'GLOBALTELEGRAMBOTTOKEN'
telegram_chat_id: 'GLOBALTELEGRAMCHATID'
############## GLOBAL SMOOTHBRAIN VARIABLES ##############
backup_minute: '0' # Backups every 6 hours starting midnight, consult https://crontab.guru/ for help in this section
backup_hour: '*/6'
backup_day: '*'
backup_month: '*'
backup_weekday: '*'
############## GLOBAL NODEWATCH VARIABLES ################
bid_check_minute: '*/60' # Checks every hour
bid_check_hour: '*'
bid_check_day: '*'
bid_check_month: '*'
bid_check_weekday: '*'
disk_check_minute: '*/60' # Checks every hour
disk_check_hour: '*'
disk_check_day: '*'
disk_check_month: '*'
disk_check_weekday: '*'
############## GLOBAL ANSIBLE VARIABLES ##################
daily_server_restart_minute: '0' # Restarts every day at midnight
daily_server_restart_hour: '*'
daily_server_restart_day: '*'
daily_server_restart_month: '*'
daily_server_restart_weekday: '*'
add_user_username: USERNAME_TO_ADD # Add new sudo user account to Ubuntu and disable root account
add_user_encrypted_password: ENCRYPTED_PASS
add_user_ssh_key: SSH_KEY # (FORMAT SHOULD BE "ssh-rsa_COPY_PUBLIC_KEY_HERE")
smoothbrain_server_ip: 'SMOOTHBRAIN_SERVER_IP'
smoothbrain_server_user: 'root'
smoothbrain_server_user_pass: 'rootpass'
smoothbrain_server_port: '22'
timezone: YOUR_LOCAL_TIMEZONE_HERE # To list the timezone : timedatectl list-timezones
copy_paste_source: YOUR_SOURCE_PATH_HERE_WITH_FILENAME_INCLUDED
copy_paste_destination: YOUR_DESTINATION_PATH_HERE
install_app_application_name: APPLICATION_NAME
remove_app_application_name: APPLICATION_NAME
set_log_size_limit: 50M
############## GLOBAL NETDATA VARIABLES ##################
# Set Netdata Cloud claiming details. To find your `claim_token` and
# `claim_room`, go to Netdata Cloud, then click on your Space's name in the top
# navigation, then click on `Manage your Space`. Click on the `Nodes` tab in the
# panel that appears, which displays a script with `token` and `room` strings.
# Copy those strings into the variables below. `claim_url` should be
# `https://app.netdata.cloud`. Read more:
# https://learn.netdata.cloud/docs/agent/claim
claim_token: REPLACE
claim_rooms: REPLACE
claim_url: https://app.netdata.cloud
# Force re-claiming of nodes to Netdata Cloud. Read more:
# https://learn.netdata.cloud/docs/agent/claim#remove-and-reclaim-a-node
reclaim: true
# Set Netdata's metrics retention policy via the disk size for the database
# engine. Value is in MiB. Read more:
# https://learn.netdata.cloud/docs/store/change-metrics-storage
dbengine_multihost_disk_space: 2048
# Set whether to run the Agent web server/dashboard/API, or disable them.
# Because we're connecting this node to Netdata Cloud and will view dashboards
# there, we'll set this to `none` to disable the local dashboard. Set to
# `static-threaded` if you want to keep it running. Read more:
# https://learn.netdata.cloud/docs/configure/secure-nodes
web_mode: none