Docker Socket Proxy =================== The recommended way to setup AppAPI Deploy daemon is to use our `Docker Socket Proxy implementation `_. Nextcloud AppAPI DSP -------------------- Nextcloud AppAPI DSP (Docker Socket Proxy) - is a simple Docker container that provides a secure way to access the Docker Engine API and ExApps. It is secured with haproxy Basic authentication. There are two parts of reverse proxy configuration: - HaProxy config for `Docker Engine API `_ - HaProxy config for `ExApps `_ .. note:: For remote Docker Socket Proxy setup, it should expose the ports on the host. .. _faq_nextcloud-aio-docker-socket-proxy: Nextcloud AIO ------------- Nextcloud AIO implements `Docker Socket Proxy container `_ which automatically setting up, you just need to tick the checkbox in AIO configuration interface to enable it. AppAPI automatically creates the default Deploy daemon configuration in Nextcloud AIO. See :ref:`nextcloud-in-docker-aio-all-in-one` for more details. .. note:: Nextcloud AIO is not limited to its default Deploy daemon. You can setup any other Deploy daemon (local or remote) to use it in AppAPI. Other implementations --------------------- Our implementation is inspired by `Tecnativa Docker Socket Proxy `_, by default, it restricts access to the required by AppAPI Docker Engine APIs. In this case, you will have to enable these APIs via the environment variables: - ``IMAGES=1`` - ``CONTAINER=1`` - ``POST=1`` .. note:: For local Deploy daemon setup other implementations of Docker Socket Proxy may be enough. But for remote Deploy daemon setup, we recommend using our DSP, as `we allow `_ only the Docker Engine APIs we actually use in AppAPI, and it is additionally secured with haproxy authentication.