Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
0cdd5f95
Commit
0cdd5f95
authored
Aug 27, 2024
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/monitor: change cors-domains and interface-url hardcoded values by instance parameters
parent
ef29dd7b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
stack/monitor/buildout.hash.cfg
stack/monitor/buildout.hash.cfg
+1
-1
stack/monitor/instance-monitor.cfg.jinja2.in
stack/monitor/instance-monitor.cfg.jinja2.in
+5
-5
No files found.
stack/monitor/buildout.hash.cfg
View file @
0cdd5f95
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# not need these here).
# not need these here).
[monitor2-template]
[monitor2-template]
filename = instance-monitor.cfg.jinja2.in
filename = instance-monitor.cfg.jinja2.in
md5sum =
24c7f5527d994e231b4c2bf9fecb68
a6
md5sum =
39258fb8dea4da11c3cbda0a24b1f1
a6
[monitor-httpd-conf]
[monitor-httpd-conf]
_update_hash_filename_ = templates/monitor-httpd.conf.in
_update_hash_filename_ = templates/monitor-httpd.conf.in
...
...
stack/monitor/instance-monitor.cfg.jinja2.in
View file @
0cdd5f95
...
@@ -9,6 +9,8 @@ cert = ${slap-connection:cert-file}
...
@@ -9,6 +9,8 @@ cert = ${slap-connection:cert-file}
# XXX Default values if doesn't exists
# XXX Default values if doesn't exists
root-instance-title = UNKNOWN H-S
root-instance-title = UNKNOWN H-S
instance-title = UNKNOWN Instance
instance-title = UNKNOWN Instance
configuration.monitor-cors-domains = monitor.app.officejs.com
configuration.monitor-interface-url = https://monitor.app.officejs.com
[directory]
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
...
@@ -333,17 +335,15 @@ monitor-base-url = ${monitor-frontend:connection-secure_access}
...
@@ -333,17 +335,15 @@ monitor-base-url = ${monitor-frontend:connection-secure_access}
#monitor-base-url = ${monitor-httpd-conf-parameter:url}
#monitor-base-url = ${monitor-httpd-conf-parameter:url}
root-instance-title = ${slap-configuration:root-instance-title}
root-instance-title = ${slap-configuration:root-instance-title}
monitor-url-list =
monitor-url-list =
cors-domains =
monitor.app.officejs.com
cors-domains =
${slap-configuration:configuration.monitor-cors-domains}
# XXX Hard coded parameter
# XXX Hard coded parameter
collector-db = /srv/slapgrid/var/data-log/collector.db
collector-db = /srv/slapgrid/var/data-log/collector.db
# Credentials
# Credentials
password = ${monitor-htpasswd:passwd}
password = ${monitor-htpasswd:passwd}
username = admin
username = admin
instance-configuration =
instance-configuration =
configuration-file-path = ${monitor-directory:etc}/monitor_knowledge0.cfg
configuration-file-path = ${monitor-directory:etc}/monitor_knowledge0.cfg
interface-url = ${slap-configuration:configuration.monitor-interface-url}
interface-url = https://monitor.app.officejs.com
[monitor-frontend]
[monitor-frontend]
<= slap-connection
<= slap-connection
...
@@ -427,7 +427,7 @@ depends =
...
@@ -427,7 +427,7 @@ depends =
[monitor-publish]
[monitor-publish]
monitor-base-url = ${monitor-publish-parameters:monitor-base-url}
monitor-base-url = ${monitor-publish-parameters:monitor-base-url}
monitor-setup-url = ${monitor-instance-parameter:interface-url}/#page=
settings_configurator
&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password}
monitor-setup-url = ${monitor-instance-parameter:interface-url}/#page=
ojsm_landing
&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password}
[buildout]
[buildout]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment