Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
Mynij
slapos-mynij-dev
Commits
c241fa7d
Commit
c241fa7d
authored
Jun 24, 2021
by
Stefane Fermigier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP.
parent
29da751e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
software/mynij-proxy/buildout.hash.cfg
software/mynij-proxy/buildout.hash.cfg
+1
-1
software/mynij-proxy/instance.cfg.in
software/mynij-proxy/instance.cfg.in
+12
-0
software/mynij-proxy/software.cfg
software/mynij-proxy/software.cfg
+3
-3
No files found.
software/mynij-proxy/buildout.hash.cfg
View file @
c241fa7d
...
...
@@ -14,4 +14,4 @@
# not need these here).
[instance-profile]
filename = instance.cfg.in
md5sum =
4c105941aa39a73e689e35dd9cdbb1f3
md5sum =
d85d1229a01d1602d4897d817fad05f6
software/mynij-proxy/instance.cfg.in
View file @
c241fa7d
[buildout]
parts =
# monitor-base
publish-connection-parameter
proxy-promise
# Define egg directories to be the one from Software Release
# (/opt/slapgrid/...)
...
...
@@ -9,6 +11,8 @@ eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
offline = true
extends = {{ template_monitor }}
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration
...
...
@@ -43,10 +47,18 @@ port = 3001
wrapper-path = ${directory:service}/mynij-proxy
[proxy-promise]
<= monitor-promise-base
module = check_port_listening
name = proxy-port-listening.py
config-hostname= ${proxy-service:host}
config-port = ${proxy-service:port}
# Publish all the parameters needed for the user to connect to the instance.
# It can be anything: URL(s), password(s), or arbitrary parameters.
# Here we'll just echo back the entered name as instance parameter
[publish-connection-parameter]
recipe = slapos.cookbook:publish
<= monitor-publish
url = http://[${proxy-service:host}]:${proxy-service:port}
software/mynij-proxy/software.cfg
View file @
c241fa7d
...
...
@@ -6,9 +6,9 @@ extends =
buildout.hash.cfg
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# Releases
../../stack/slapos.cfg
../../component/git/buildout.cfg
; ../../stack/monitor/buildout.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
# Extend here component profiles, like openssl, apache, mariadb, curl...
# Or/and extend a stack (lamp, tomcat) that does most of the work for you
# In this example we extend from helloweb component.
...
...
@@ -66,7 +66,7 @@ context =
section buildout buildout
key mynij_proxy_location mynij-proxy-repository:location
raw gunicorn_bin ${buildout:bin-directory}/gunicorn
raw template_monitor ${monitor2-template:rendered}
[versions]
gunicorn = 20.1.0
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