|
|
@ -137,7 +137,8 @@ occ() { |
|
|
|
## We need here actually only the relation sql-database. Any other hook |
|
|
|
## using `occ` would make the call infinitively recursive. |
|
|
|
export COMPOSE_IGNORE_ORPHANS=true |
|
|
|
compose --debug -q --no-init --without-relation="$SERVICE_NAME":web-proxy run \ |
|
|
|
compose --debug -q --no-init --no-pre-deploy \ |
|
|
|
--without-relation="$SERVICE_NAME":web-proxy run \ |
|
|
|
"${occ_docker_run_opts[@]}" \ |
|
|
|
-v "$HOST_CHARM_STORE/${CHARM_REL_PATH#${CHARM_STORE}/}/src/occ.batch:/var/www/html/occ.batch" \ |
|
|
|
-T --rm -u www-data "$SERVICE_NAME" /var/www/html/occ.batch "$@" | cat |
|
|
|