cosmostat working

This commit is contained in:
2026-03-29 09:39:43 -07:00
parent 97fdb3d5d8
commit 4c4d9e4d6f
19 changed files with 813 additions and 491 deletions

View File

@ -14,6 +14,7 @@ cosmostat_packages:
- jc
- smartmontools
- inxi
- easy-rsa
# python venv packages
cosmostat_venv_packages: |
@ -38,7 +39,6 @@ docker_gateway: "192.168.37.1"
cosmostat_server_ip: "10.200.27.20"
api_bind_ip: "{{ docker_gateway }}"
# cosmostat service folder root
service_folder: "/opt/cosmostat"
@ -52,6 +52,7 @@ api_service_folder: "{{ service_folder }}/api"
venv_folder: "{{ service_folder }}/venv"
api_service_exe: "{{ venv_folder }}/bin/python -u {{ api_service_folder }}/app.py"
custom_api_port: "5000"
REAL_API_KEY: "DEADBEEF"
# dashboard vars
service_control_web_folder: "{{ service_folder }}/web"
@ -67,11 +68,14 @@ x64_arch: true
noisy_test: false
debug_output: true
secure_api: true
push_redis: true
push_redis: false
run_background : true
log_output: true
update_frequency: "1"
cosmostat_server: true
cosmostat_server_api: "http://{{ cosmostat_server_ip }}:{{ custom_api_port }}/"
cosmostat_server_api: "https://cosmostat.testy-cal.com/"
local_api_address: "http://{{ cosmostat_server_ip }}:{{ custom_api_port }}/"
cosmostat_server_reporter: false
# setting this to true for default install
disable_local_api: true
...