fork 0k-charms

12 lines
151 B

  1. #!/bin/bash
  2. set -e
  3. URL="$(relation-get url)" || exit 1
  4. config-add "\
  5. services:
  6. $MASTER_BASE_SERVICE_NAME:
  7. environment:
  8. ROOT_URL: $URL
  9. "