#!/bin/sh

# Volumes
DHIS2_CONF="${VOLUMES_DIR}/dhis2/dhis2_conf"

# Replacements
sed -i "s|\(^\s\+proxyName=\).*|\1\"${HOST}\"|" ${DHIS2_CONF}/server.xml
sed -i "s|\(^\s\+proxyPort=\).*|\1\"${PORT}\"|" ${DHIS2_CONF}/server.xml
