Compare commits

..

No commits in common. 'master' and 'profanity' have entirely different histories.

@ -1,99 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.9.5],[1.9.4],[1.9.3] - 2025-03-19
### Fixed
- Detecting mikr.us API key / hostname
- Detecting domains on old hostnames
## [1.9.2] - 2025-03-13
### Changed
- Adjusted to new mikr.us host naming strategy
### Fixed
- Limited of watchdog logs added for diagnostics
## [1.9.1] - 2024-10-26
### Added
- Detecting and fixing docker server issues
- Additional cleanup of container logs
- Events added to logs and diagnostics
- Mail notification on possible update
- Build date shown in UI, logs and diagnostics
- Forced update flag
- Gracefull handling of repo 404 and invalid channels
### Changed
- Tool update mechanism taking into account build date
### Fixed
- Cleanups and refactoring in dialogs
- Bugs in update detection
## [1.9.0] - 2024-10-12
### Added
- Cleanup menu
- Gathering and sending encrypted diagnostics
- Watchdog notifications for low free space
### Changed
- Main menu, moved update items to its own submenu
- Added diagnostics encryption key to about dialog
### Fixed
- More robust watchdog, detects and restarts stale MongoDB
## [1.8.1] - 2024-01-17
### Added
- Custom update channels support
### Changed
- Added more detailed logs in case of watchdog failure
## [1.8.0] - 2024-01-07
### Added
- Support for command line switches
- Support for development and production update channels
- Watchdog called from cron
- Status of watchdog and its logs
### Changed
- Main menu status show live calculated status instead of Nightscout container status
### Fixed
- Removed underscore from domain name hint, as xDrip and NS have issues with domains containing it
### Fixed
- More memory and memory limits config (in template) for MongoDB
## [1.7.0] - 2023-10-20
### Added
- UI shows verison number
- split betwen conatainer update and restart

@ -1,4 +1,4 @@
Copyright 2023-2004 Dominik Dzienia <dominik.dzienia@gmail.com>
Copyright 2023 Dominik Dzienia <dominik.dzienia@gmail.com>
Attribution-NonCommercial-NoDerivatives 4.0 International

@ -20,5 +20,5 @@ Nie opieraj decyzji terapeutycznych na podstawie wskazań tego narzędzia!
**Twórcy tego narzędzia NIE SĄ administratorami Mikr.us-ów ani Hetznera!**
- W razie problemów z dostępnością serwera najpierw sprawdź [status Mikr.us-a](https://status.mikr.us/status/mikrus). Gdyby strona status nie działała - sprawdź czy przypadkiem [Hetzner nie ma problemów](https://status.hetzner.com)
- Instalator także posiada swoją [stronę statusu](https://status.cukrzycowy.pl/) - ale dotyczy ona tylko **skryptów instalacyjnych** a NIE dostępności TWOJEGO Nightscouta po instalacji.
- Instalator także posiada swoją [stronę statusu](https://dzieniaalive.bieda.it/status/td) - ale dotyczy ona tylko **skryptów instalacyjnych** a NIE dostępności TWOJEGO Nightscouta po instalacji.

File diff suppressed because it is too large Load Diff

@ -1,6 +1,6 @@
{
"name": "@dlvoy/ns-installer-mikrus",
"version": "1.9.5",
"version": "1.6.0",
"description": "Nightscout installer for mikr.us VPS",
"main": "index.js",
"scripts": {

File diff suppressed because it is too large Load Diff

@ -1,11 +1,11 @@
#!/bin/bash
### version: 1.9.5
### version: 1.6.0
# ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.#
# Nightscout Mikr.us setup script #
# ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.#
# (c)2025 by Dominik Dzienia #
# (c)2023 by Dominik Dzienia #
# <dominik.dzienia@gmail.com> #
# Licensed under MIT license #
# ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.#
@ -26,8 +26,6 @@ if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
# MAIN SCRIPT
#=======================================
startup_version
parse_commandline_args "$@"
# check_interactive
check_git
check_docker
@ -35,8 +33,6 @@ check_docker_compose
check_jq
check_ufw
check_nano
check_dateutils
check_diceware
setup_packages
setup_node
check_dotenv
@ -44,11 +40,9 @@ setup_users
setup_dir_structure
download_conf
download_tools
setup_security
update_if_needed
setup_firewall
install_cron
source_admin

@ -1,4 +1,4 @@
### version: 1.8.0
### version: 1.0.1
version: "2"
@ -9,12 +9,10 @@ networks:
services:
mongodb:
container_name: ns-database
mem_limit: 400m
mem_limit: 200m
mem_reservation: 100M
restart: always
image: "bitnami/mongodb:${NS_MONGODB_TAG}"
environment:
- MONGODB_EXTRA_FLAGS=--wiredTigerCacheSizeGB=0.4
volumes:
- "${NS_DATA_DIR}/mongodb:/bitnami/mongodb"
ports:

@ -1,4 +1,4 @@
### version: 1.6.1
### version: 0.5.0
########################################
# Unikalne ustawienia tej instancji
@ -6,7 +6,7 @@
########################################
API_SECRET=
CUSTOM_TITLE=Nightscout :: Technologie Diabetyka
CUSTOM_TITLE=Nightscout
########################################
# Konfiguracja działania NS
@ -42,15 +42,6 @@ PUMP_RETRO_FIELDS=battery reservoir clock status
# BRIDGE_PASSWORD="" # MIĘDZY CUDZYSŁOWAMI WPISZ HASŁO UŻYTKOWNIKA DEXCOM JEŚLI KORZYSTASZ BEZPOŚREDNIO Z ODCZYTÓW DEXCOM SHARE
# BRIDGE_SERVER="EU" # ZMIEŃ WPIS NA "US" JEŚLI KORZYSTASZ BEZPOŚREDNIO Z ODCZYTÓW DEXCOM SHARE Z SERWERA AMERYKAŃSKIEGO
########################################
# Konfguracja dla Loop
########################################
# LOOP_APNS_KEY=
# LOOP_APNS_KEY_ID=
# LOOP_DEVELOPER_TEAM_ID=
# LOOP_PUSH_SERVER_ENVIRONMENT=production
########################################
# Ustawienia alarmów
########################################
@ -111,4 +102,5 @@ AUTH_DEFAULT_ROLES=denied
MONGO_CONNECTION=mongodb://mongodb/admin
PORT=1337
INSECURE_USE_HTTP=true
DBSIZE_MAX=3000

@ -1 +1 @@
2025-03-19T00:31:27.110Z
2023-10-02T12:09:10.024Z
Loading…
Cancel
Save