|
@ -96,6 +96,13 @@ create_occ_if_not_exists() { |
|
|
|
|
|
|
|
|
if ! out=$( |
|
|
if ! out=$( |
|
|
export COMPOSE_IGNORE_ORPHANS=true |
|
|
export COMPOSE_IGNORE_ORPHANS=true |
|
|
|
|
|
## XXXvlab: this is to avoid re-running init from |
|
|
|
|
|
## apache (if provided in compose.yml) that is bugged |
|
|
|
|
|
## and will delete all config. It'll be run even if it |
|
|
|
|
|
## seems excluded because ALL_RELATION is already |
|
|
|
|
|
## solved. These are 2 mishaps that will need to be |
|
|
|
|
|
## addressed in compose-core. |
|
|
|
|
|
export ALL_RELATIONS= |
|
|
compose --debug --without-relation="$SERVICE_NAME":web-proxy run \ |
|
|
compose --debug --without-relation="$SERVICE_NAME":web-proxy run \ |
|
|
-v "$CHARM_PATH"/src/fake-apache:/usr/bin/apache \ |
|
|
-v "$CHARM_PATH"/src/fake-apache:/usr/bin/apache \ |
|
|
--rm --entrypoint /entrypoint.sh "$SERVICE_NAME" apache 2>&1 |
|
|
--rm --entrypoint /entrypoint.sh "$SERVICE_NAME" apache 2>&1 |
|
|