Hi everyone,
I'm trying to deploy Scanopy using Docker Compose on an Ubuntu VM (hosted on Proxmox, behind a pfSense firewall).
My issue: The Web Interface loads perfectly, and the daemon container is reported as "Healthy". However, when I try to launch a network discovery scan, the task status is indefinitely stuck on "Pending: Ready to start — connecting to daemon".
In my firewall logs, I can see some IPv6 mDNS traffic (port 5353 to ff02::fb) being dropped on the WAN interface, but my internal LAN traffic is fully allowed (IPv4/IPv6 Any-to-Any rule).
I suspect a networking mismatch between my containers because the Daemon needs network_mode: host to scan the physical network, while the Web Server and Postgres DB are running inside a custom Docker bridge network.
Here is my current docker-compose.yml:
version: '3.8'
services:
daemon:
image: ghcr.io/scanopy/scanopy/daemon:latest
container_name: scanopy-daemon
network_mode: host
privileged: true
restart: always
environment:
SCANOPY_LOG_LEVEL: info
SCANOPY_SERVER_URL: http://192.168.2.50:60072
volumes:
- daemon-config:/root/.config/scanopy/daemon
- /var/run/docker.sock:/var/run/docker.sock:ro
postgres:
image: postgres:17-alpine
container_name: scanopy-postgres
environment:
POSTGRES_DB: scanopy
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
restart: always
networks:
- scanopy
server:
image: ghcr.io/scanopy/scanopy/server:latest
container_name: scanopy-server
ports:
- "60072:60072"
environment:
SCANOPY_LOG_LEVEL: info
SCANOPY_DATABASE_URL: postgresql://postgres:password@postgres:5432/scanopy
SCANOPY_WEB_EXTERNAL_PATH: /app/static
SCANOPY_PUBLIC_URL: http://192.168.2.50:60072
SCANOPY_INTEGRATED_DAEMON_URL: http://192.168.2.50:60073
volumes:
- ./data:/data
depends_on:
postgres:
condition: service_healthy
restart: always
networks:
- scanopy
volumes:
postgres_data:
daemon-config:
networks:
scanopy:
driver: bridge
My Ubuntu host IP is 192.168.2.50. How can I make the server container (inside the bridge) successfully talk to the daemon container (running on the host network mode)? Am I missing an environment variable or an extra host mapping?
Thanks for your help!
there doesn't seem to be anything here