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
ffc48f28
Commit
ffc48f28
authored
Jun 29, 2021
by
Stefane Fermigier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: use proper deps for mynij-proxy.
parent
7d82b9ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
software/mynij-proxy/instance.cfg.in
software/mynij-proxy/instance.cfg.in
+4
-1
software/mynij-proxy/software.cfg
software/mynij-proxy/software.cfg
+8
-1
No files found.
software/mynij-proxy/instance.cfg.in
View file @
ffc48f28
[buildout]
[buildout]
parts =
parts =
# monitor-base
# monitor-base
publish-connection-parameter
publish-connection-parameter
mynij-proxy-promise
mynij-proxy-promise
...
@@ -22,6 +22,7 @@ url = ${slap-connection:server-url}
...
@@ -22,6 +22,7 @@ url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
cert = ${slap-connection:cert-file}
# Create all needed directories, depending on your needs
# Create all needed directories, depending on your needs
[directory]
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
...
@@ -36,6 +37,7 @@ service = ${:etc}/service
...
@@ -36,6 +37,7 @@ service = ${:etc}/service
log = ${:var}/log
log = ${:var}/log
plugins = ${:etc}/plugins
plugins = ${:etc}/plugins
[mynij-proxy-service]
[mynij-proxy-service]
# Actual script that starts the service:
# Actual script that starts the service:
# This recipe will try to "exec" the command-line after separating parameters.
# This recipe will try to "exec" the command-line after separating parameters.
...
@@ -47,6 +49,7 @@ port = 3001
...
@@ -47,6 +49,7 @@ port = 3001
wrapper-path = ${directory:service}/mynij-proxy
wrapper-path = ${directory:service}/mynij-proxy
[mynij-proxy-promise]
[mynij-proxy-promise]
<= monitor-promise-base
<= monitor-promise-base
module = check_port_listening
module = check_port_listening
...
...
software/mynij-proxy/software.cfg
View file @
ffc48f28
...
@@ -35,8 +35,15 @@ mode = 0644
...
@@ -35,8 +35,15 @@ mode = 0644
[mynij-proxy-eggs]
[mynij-proxy-eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
eggs =
mynij-proxy
gunicorn
gunicorn
minij-proxy
httpx
gunicorn
uvicorn
uvloop
starlette
httptools
scripts =
scripts =
gunicorn
gunicorn
...
...
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