reorg folders
This commit is contained in:
29
docker/scanopy/README.md
Normal file
29
docker/scanopy/README.md
Normal file
@@ -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://<your-server-ip>: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
|
||||||
42
docker/scanopy/docker-compose.yml
Normal file
42
docker/scanopy/docker-compose.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user