I tried to setup appapi with docker socket proxy, but it still could not work. Please help me to confirm whether my configuration is wrong or not.
docker-compose.yml
version: '3.7'
networks:
nextcloud:
name: nextcloud_proxy
driver: bridge
volumes:
nexecloud:
db:
appapi:
services:
db:
image: postgres:12-alpine
container_name: Nextcloud-DB
restart: always
volumes:
- /home/sw/Nextcloud/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=nextcloud
- TZ=Asia/Taipei
networks:
- nextcloud
app:
image: nextcloud:29.0.3-apache
container_name: Nextcloud
restart: always
ports:
- 3000:80
depends_on:
- db
- appapi
links:
- db
- appapi
volumes:
- /home/sw/Nextcloud/web:/var/www/html
- /etc/localtime:/etc/localtime:ro
environment:
- POSTGRES_DB=nextcloud
- POSTGRES_HOST=db
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=nextcloud
networks:
- nextcloud
appapi:
image: ghcr.io/cloud-py-api/nextcloud-appapi-dsp:v1.3.2
container_name: nextcloud-appapi-dsp
hostname: nextcloud-appapi-dsp
restart: unless-stopped
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- NC_HAPROXY_PASSWORD=nextcloud
- TIMEOUT_SERVER=1800s
networks:
- nextcloud
appapi settings
After setting, I got error message with 404(not found) and 500(Internal server error)
The daemon can be accessible by verify connection.
How can I solved it?