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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Justin
slapos
Commits
ca9f52c4
Commit
ca9f52c4
authored
Dec 12, 2022
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
160bddea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
software/ors-amarisoft/instance.cfg
software/ors-amarisoft/instance.cfg
+3
-0
stack/monitor/instance-monitor.cfg.jinja2.in
stack/monitor/instance-monitor.cfg.jinja2.in
+2
-1
No files found.
software/ors-amarisoft/instance.cfg
View file @
ca9f52c4
...
@@ -6,6 +6,8 @@ eggs-directory = ${buildout:eggs-directory}
...
@@ -6,6 +6,8 @@ eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
offline = true
extends = {{ monitor_template }}
[slap-configuration]
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration.serialised
recipe = slapos.cookbook:slapconfiguration.serialised
computer = $${slap-connection:computer-id}
computer = $${slap-connection:computer-id}
...
@@ -238,6 +240,7 @@ context =
...
@@ -238,6 +240,7 @@ context =
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
output = ${monitor-directory:public}/gadget/$${:filename}
output = ${monitor-directory:public}/gadget/$${:filename}
content =
content =
raw monitor_template ${monitor2-template:output}
raw $${:filename} ${$${:filename}:target}
raw $${:filename} ${$${:filename}:target}
[promise-gadget-js]
[promise-gadget-js]
...
...
stack/monitor/instance-monitor.cfg.jinja2.in
View file @
ca9f52c4
...
@@ -318,6 +318,7 @@ monitor-base-url = ${monitor-base:base-url}
...
@@ -318,6 +318,7 @@ monitor-base-url = ${monitor-base:base-url}
monitor-url = ${:monitor-base-url}/public/feeds
monitor-url = ${:monitor-base-url}/public/feeds
monitor-user = ${monitor-instance-parameter:username}
monitor-user = ${monitor-instance-parameter:username}
monitor-password = ${monitor-instance-parameter:password}
monitor-password = ${monitor-instance-parameter:password}
monitor-gadget-url = ${:monitor-base-url}/public/gadget/
[monitor-instance-parameter]
[monitor-instance-parameter]
monitor-title = ${slap-configuration:instance-title}
monitor-title = ${slap-configuration:instance-title}
...
@@ -427,7 +428,7 @@ depends =
...
@@ -427,7 +428,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=settings_configurator&url=${monitor-publish-parameters:monitor-url}&username=${monitor-publish-parameters:monitor-user}&password=${monitor-publish-parameters:monitor-password}
monitor-gadget-url =${monitor-publish-parameters:monitor-gadget-url}
[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