From 9df69d9f08e5a147b72bd4421fb544921d3185c2 Mon Sep 17 00:00:00 2001 From: noisedestroyers Date: Fri, 8 May 2026 11:40:06 -0400 Subject: [PATCH] reorg folders --- docker/scanopy/README.md | 29 +++++++++++++++++++++ docker/scanopy/docker-compose.yml | 42 +++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 docker/scanopy/README.md create mode 100644 docker/scanopy/docker-compose.yml diff --git a/docker/scanopy/README.md b/docker/scanopy/README.md new file mode 100644 index 0000000..bd16ed1 --- /dev/null +++ b/docker/scanopy/README.md @@ -0,0 +1,29 @@ +# Scanopy Configuration + +This directory contains the Docker Compose configuration for setting up Scanopy in your homelab environment. + +## Files + +- `docker-compose.yml` - Main Docker Compose configuration +- `README.md` - This file + +## Setup Instructions + +1. Ensure Docker and Docker Compose are installed on your system +2. Navigate to this directory: `cd /Users/noise/Documents/obsidian/homelab/scanopy` +3. Start the services: `docker compose up -d` +4. Access the UI at: http://:60072 + +## Configuration + +The configuration includes: +- Scanopy Server (port 60072) +- Scanopy Daemon for network scanning +- Bridge network for communication between services +- Persistent data volumes + +## Customization + +To customize the scan targets, modify the `SCANOPY_DAEMON_TARGETS` environment variable in the docker-compose.yml file. By default, it scans the 192.168.1.0/24 subnet. + +For more advanced configuration, see the Scanopy documentation at https://scanopy.net/docs \ No newline at end of file diff --git a/docker/scanopy/docker-compose.yml b/docker/scanopy/docker-compose.yml new file mode 100644 index 0000000..a35d23f --- /dev/null +++ b/docker/scanopy/docker-compose.yml @@ -0,0 +1,42 @@ +version: '3.8' + +services: + scanopy-server: + image: scanopy/server:latest + container_name: scanopy-server + ports: + - "60072:60072" + volumes: + - ./data:/app/data + - ./config:/app/config + environment: + - SCANOPY_SERVER_PORT=60072 + - SCANOPY_SERVER_HOST=0.0.0.0 + restart: unless-stopped + networks: + - scanopy-network + + scanopy-daemon: + image: scanopy/daemon:latest + container_name: scanopy-daemon + privileged: true + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ./daemon-data:/app/data + - ./config:/app/config + environment: + - SCANOPY_DAEMON_SERVER_HOST=scanopy-server + - SCANOPY_DAEMON_SERVER_PORT=60072 + - SCANOPY_DAEMON_SCAN_INTERVAL=3600 + - SCANOPY_DAEMON_TARGETS=192.168.1.0/24 + restart: unless-stopped + networks: + - scanopy-network + +volumes: + scanopy-data: + scanopy-config: + +networks: + scanopy-network: + driver: bridge \ No newline at end of file