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

feat: configurable port.

parent b8042c36
...@@ -21,6 +21,7 @@ partition = ${slap-connection:partition-id} ...@@ -21,6 +21,7 @@ partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url} 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}
configuration.port = 3001
# Create all needed directories, depending on your needs # Create all needed directories, depending on your needs
...@@ -42,10 +43,9 @@ plugins = ${:etc}/plugins ...@@ -42,10 +43,9 @@ plugins = ${:etc}/plugins
# 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.
recipe = slapos.cookbook:wrapper recipe = slapos.cookbook:wrapper
command-line =
{{ gunicorn_bin }} --bind [${:host}]:${:port} app:app
host = ${slap-configuration:ipv6-random} 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 wrapper-path = ${directory:service}/mynij-proxy
......
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