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
1379d964
Commit
1379d964
authored
Jul 05, 2021
by
Stefane Fermigier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: configurable port.
parent
b8042c36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
software/mynij-proxy/instance.cfg.in
software/mynij-proxy/instance.cfg.in
+3
-3
software/mynij-proxy/software.cfg
software/mynij-proxy/software.cfg
+1
-1
No files found.
software/mynij-proxy/instance.cfg.in
View file @
1379d964
...
...
@@ -21,6 +21,7 @@ partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
configuration.port = 3001
# Create all needed directories, depending on your needs
...
...
@@ -42,10 +43,9 @@ plugins = ${:etc}/plugins
# Actual script that starts the service:
# This recipe will try to "exec" the command-line after separating parameters.
recipe = slapos.cookbook:wrapper
command-line =
{{ gunicorn_bin }} --bind [${:host}]:${:port} app:app
host = ${slap-configuration:ipv6-random}
port = 3001
port = ${slap-configuration:configuration.port}
command-line = {{ gunicorn_bin }} --bind [${:host}]:${:port} app:app
wrapper-path = ${directory:service}/mynij-proxy
...
...
software/mynij-proxy/software.cfg
View file @
1379d964
...
...
@@ -69,7 +69,7 @@ context =
raw template_monitor ${monitor2-template:rendered}
[versions]
click =
7.1.2
click = 7.1.2
anyio = 3.2.1
asgiref = 3.4.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