#!/bin/bash
set -e
URL="$(relation-get url)" || exit 1
config-add "\
services:
$MASTER_BASE_SERVICE_NAME:
environment:
ROOT_URL: $URL
"