#!/bin/bash

## Should be executable N time in a row with same result.

set -e

config-add "
services:
  $MASTER_BASE_SERVICE_NAME:
    labels:
    - 'traefik.frontend.rule=Host:$(relation-get domain)'
"