Commit 1379d964 authored by Stefane Fermigier's avatar Stefane Fermigier

feat: configurable port.

parent b8042c36
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment