forked from 0k/0k-charms
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
253 B
16 lines
253 B
#!/bin/bash
|
|
|
|
DOMAIN=$(relation-get domain) || exit 1
|
|
|
|
set -e
|
|
|
|
config-add "\
|
|
services:
|
|
$MASTER_BASE_SERVICE_NAME:
|
|
environment:
|
|
KC_HOSTNAME: "$DOMAIN"
|
|
KC_PROXY: edge
|
|
KC_HTTP_ENABLED: \"true\"
|
|
KC_HOSTNAME_STRICT: \"false\"
|
|
"
|
|
|