full server dashboard working

This commit is contained in:
2026-03-22 18:44:07 -07:00
parent 324eaff135
commit 97fdb3d5d8
19 changed files with 1441 additions and 169 deletions

View File

@ -2,7 +2,7 @@
# required system packages
cosmostat_packages:
- "{{ 'docker' if x64_arch else 'wmdocker' }}"
- "{{ '' if x64_arch else 'wmdocker' }}"
- docker.io
- docker-compose
- python3
@ -35,6 +35,9 @@ cosmostat_sudoers_content: |
# subnet for service
docker_subnet: "192.168.37.0/24"
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"
@ -54,12 +57,13 @@ custom_api_port: "5000"
service_control_web_folder: "{{ service_folder }}/web"
public_dashboard: true
custom_port: "80"
web_src: "/web"
# other vars
quick_refresh: false
x64_arch: true
# cosmostat_settings
# cosmostat_settings, will be for special_server defaults
noisy_test: false
debug_output: true
secure_api: true
@ -67,7 +71,7 @@ push_redis: true
run_background : true
log_output: true
update_frequency: "1"
cosmostat_server: false
cosmostat_server_api: "http://10.200.27.20/"
cosmostat_server: true
cosmostat_server_api: "http://{{ cosmostat_server_ip }}:{{ custom_api_port }}/"
cosmostat_server_reporter: false
...