diff --git a/docs/services/app_api.md b/docs/services/app_api.md index b6a797f..212df2f 100644 --- a/docs/services/app_api.md +++ b/docs/services/app_api.md @@ -20,6 +20,11 @@ After the DSP container is running, configure the Deploy daemon in AppAPI admin - **Network**: `master_default` (the network of nextcloud-docker-dev docker-compose, by default it is `master_default`) - **HaProxy password**: `some_secure_password` +or via OCC CLI: + +```bash +./scripts/occ.sh nextcloud -- app_api:daemon:register dsp_http "DSP HTTP" docker-install http "http://nextcloud.local" --net=master_default --set-default +``` ## HTTPS AppAPI DSP @@ -48,6 +53,12 @@ After the DSP container is running and the certificate is imported in Nextcloud, - **Network**: `host` (with https enabled, the network is forced to `host`) - **HaProxy password**: `some_secure_password` +or via OCC CLI: + +```bash +./scripts/occ.sh nextcloud -- app_api:daemon:register dsp_https "DSP HTTPS" docker-install https "http://nextcloud.local" --net=host --set-default +``` + ## Environment variables