#!/bin/bash

set -e

url=$(relation-get url) || exit 1

config-add "\
services:
  $MASTER_BASE_SERVICE_NAME:
    command:
      - \"--baseUrl\"
      - $url
"