Commit d9e48db4 authored by Kristoffer Moe's avatar Kristoffer Moe
Browse files

Enabled debugging og services at port 5070

parent 5d7ee195
......@@ -10,5 +10,6 @@ CMD /services/javarunner.sh \
-DDATA_BASEURI="$DATA_BASEURI" \
-DELASTCSEARCH_URL="$ELASTICSEARCH_URL" \
-Done-jar.silent=true \
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5070 \
-jar \
/services/services-1.0-SNAPSHOT-standalone.jar
......@@ -17,14 +17,15 @@
{% include 'docker-build.sls-fragment' %}
{% set ports = ['8005/tcp'] %}
{% set ports = ['8005/tcp', '5070/tcp'] %}
{% set environment = { 'KOHA_PORT': "http://{0}:{1}".format(pillar['redef']['koha']['host'], pillar['redef']['koha']['port_intra']),
'KOHA_USER': pillar['koha']['adminuser'],
'KOHA_PASSWORD': pillar['koha']['adminpass'],
'FUSEKI_PORT': "http://{0}:{1}".format(pillar['redef']['fuseki']['host'], pillar['redef']['fuseki']['port']),
'DATA_BASEURI': pillar['redef']['services']['baseuri'],
'ELASTICSEARCH_URL' : "http://{0}:{1}".format(pillar['redef']['elasticsearch']['host'], pillar['redef']['elasticsearch']['http']['port'])} %}
{% set port_bindings = {'8005/tcp': { 'HostIp': pillar['redef']['services']['binding'], 'HostPort': pillar['redef']['services']['port'] } } %}
{% set port_bindings = {'8005/tcp': { 'HostIp': pillar['redef']['services']['binding'], 'HostPort': pillar['redef']['services']['port'] },
'5070/tcp': { 'HostIp': pillar['redef']['services']['binding'], 'HostPort': '5070' } } %}
{% include 'docker-run.sls-fragment' %}
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