Skip to content

Commit

Permalink
Add timezone to get-configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Stell0 committed Dec 19, 2023
1 parent 4802650 commit a4fd126
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions imageroot/actions/get-configuration/20read
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ config = {
'nethvoice_host': os.getenv('NETHVOICE_HOST', ''),
'nethcti_ui_host': os.getenv('NETHCTI_UI_HOST', ''),
'lets_encrypt': os.getenv('TRAEFIK_LETS_ENCRYPT') == 'True',
'timezone': os.getenv('TIMEZONE', 'UTC'),
'user_domain': os.getenv('USER_DOMAIN', ''),
'reports_international_prefix': os.getenv('REPORTS_INTERNATIONAL_PREFIX', '')
}
Expand Down
4 changes: 4 additions & 0 deletions imageroot/actions/get-configuration/validate-output.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"description": "Enable Let's Encrypt certificate",
"type": "boolean"
},
"timezone": {
"description": "Timezone for the Nethvoice instance",
"type": "string"
},
"user_domain": {
"description": "Domain where the user accessing Nethvoice are stored",
"type": "string"
Expand Down

0 comments on commit a4fd126

Please sign in to comment.