TODO rebuild container
This commit is contained in:
@@ -18,9 +18,12 @@ function _create() {
|
||||
echo "initialize discourse $shortname $longname ... OK"
|
||||
|
||||
mkdir -p "$MIAOU_CONFIGDIR/apps/discourse"
|
||||
APP_DOMAIN=$domain APP_SUBDOMAIN=$subdomain APP_FQDN=$fqdn APP_PORT=$port APP_NAME=$shortname tera -e --env-key env -t "$MIAOU_BASEDIR/templates/apps/discourse/forum.yml.j2" -o "$MIAOU_CONFIGDIR/apps/discourse/$longname.yml" "$MIAOU_CONFIGDIR/miaou.expanded.yaml"
|
||||
APP_DOMAIN=$domain APP_SUBDOMAIN=$subdomain APP_FQDN=$fqdn APP_PORT=$port APP_NAME=$longname tera -e --env-key env -t "$MIAOU_BASEDIR/templates/apps/discourse/forum.yml.j2" -o "$MIAOU_CONFIGDIR/apps/discourse/$longname.yml" "$MIAOU_CONFIGDIR/miaou.expanded.yaml"
|
||||
echo "creating templates ... OK"
|
||||
|
||||
#TODO:
|
||||
1. copy template to container
|
||||
1. rebuild container
|
||||
}
|
||||
|
||||
function _update() {
|
||||
|
||||
Reference in New Issue
Block a user