From 7fc0436c0b42157d2304746dc3007b61e78af7cd Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Sat, 24 Sep 2022 20:45:24 -0700 Subject: [PATCH] 3rd attempt at docker --- docker/web_service/config.py | 6 +++++- docker/web_service/hbnet.sqlite | Bin 151552 -> 151552 bytes web/docker/config.py | 6 +++++- web/docker/hbnet.sqlite | Bin 151552 -> 151552 bytes 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docker/web_service/config.py b/docker/web_service/config.py index 5d486ea..ef153e9 100644 --- a/docker/web_service/config.py +++ b/docker/web_service/config.py @@ -5,7 +5,7 @@ Settings for HBNet Web Server. # Database options # Using SQLite is simple and easiest. Comment out this line and uncomment the MySQL # line to use a MySQL/MariaDB server. -db_location = 'sqlite:////opt/hbnet_web/data/hbnet.sqlite' +db_location = 'sqlite:////opt/hbnet_web/hbnet.sqlite' # Uncomment and change this line to use a MySQL DB. It is best to start with a fresh # DB without data in it. @@ -42,6 +42,10 @@ time_format = '%H:%M:%S - %m/%d/%y' # the approval of an admin user before the user can login. default_account_state = True +# Allow users to generate and send SMS messages via the web service +# and API. +allow_user_sms = False + # Legacy passphrase used in hblink.cfg legacy_passphrase = 'passw0rd' diff --git a/docker/web_service/hbnet.sqlite b/docker/web_service/hbnet.sqlite index 659131766b7d267cdda07d0f0ab1ff95ce7fbe3b..a6377ecf245f055f9f01e831b4d7245957e245fd 100644 GIT binary patch delta 48 zcmV-00MGw`pb3DW36L8BDv=yR0V;uDwO|2n9}Cj(0MhzIMNU~dF_WO%8i({B0k`xY G0t_&wh7rgB delta 48 zcmZozz}c{XbAmLZ=0q81M$N{AtqF|z^4#Y+7|sj1xcWs}8BShsTdMtwJmdB+@=QDi E0DR~V@Bjb+ diff --git a/web/docker/config.py b/web/docker/config.py index 5d486ea..ef153e9 100644 --- a/web/docker/config.py +++ b/web/docker/config.py @@ -5,7 +5,7 @@ Settings for HBNet Web Server. # Database options # Using SQLite is simple and easiest. Comment out this line and uncomment the MySQL # line to use a MySQL/MariaDB server. -db_location = 'sqlite:////opt/hbnet_web/data/hbnet.sqlite' +db_location = 'sqlite:////opt/hbnet_web/hbnet.sqlite' # Uncomment and change this line to use a MySQL DB. It is best to start with a fresh # DB without data in it. @@ -42,6 +42,10 @@ time_format = '%H:%M:%S - %m/%d/%y' # the approval of an admin user before the user can login. default_account_state = True +# Allow users to generate and send SMS messages via the web service +# and API. +allow_user_sms = False + # Legacy passphrase used in hblink.cfg legacy_passphrase = 'passw0rd' diff --git a/web/docker/hbnet.sqlite b/web/docker/hbnet.sqlite index 659131766b7d267cdda07d0f0ab1ff95ce7fbe3b..a6377ecf245f055f9f01e831b4d7245957e245fd 100644 GIT binary patch delta 48 zcmV-00MGw`pb3DW36L8BDv=yR0V;uDwO|2n9}Cj(0MhzIMNU~dF_WO%8i({B0k`xY G0t_&wh7rgB delta 48 zcmZozz}c{XbAmLZ=0q81M$N{AtqF|z^4#Y+7|sj1xcWs}8BShsTdMtwJmdB+@=QDi E0DR~V@Bjb+