Docker Socket Proxy
The recommended way to setup the 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
Nextcloud AIO
Nextcloud AIO implements its own Docker Socket Proxy container; you just need to tick the checkbox in the AIO configuration interface to enable it. AppAPI automatically creates the default Deploy daemon configuration for Nextcloud AIO.
See Nextcloud in Docker AIO (all-in-one) for more details.
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