mirror of
https://github.com/mayanayza/netvisor.git
synced 2025-12-10 08:24:08 -06:00
25 lines
926 B
YAML
25 lines
926 B
YAML
services:
|
|
daemon:
|
|
image: mayanayza/netvisor-daemon:latest
|
|
container_name: netvisor-daemon
|
|
network_mode: host
|
|
privileged: true
|
|
restart: unless-stopped
|
|
environment:
|
|
# Server connection
|
|
- NETVISOR_SERVER_TARGET=${NETVISOR_SERVER_TARGET:-127.0.0.1}
|
|
- NETVISOR_SERVER_PORT=${NETVISOR_SERVER_PORT:-60072}
|
|
|
|
# Daemon configuration
|
|
- NETVISOR_PORT=${NETVISOR_PORT:-60073}
|
|
- NETVISOR_BIND_ADDRESS=${NETVISOR_BIND_ADDRESS:-0.0.0.0}
|
|
- NETVISOR_NAME=${NETVISOR_NAME:-netvisor-daemon}
|
|
- NETVISOR_LOG_LEVEL=${NETVISOR_LOG_LEVEL:-info}
|
|
- NETVISOR_HEARTBEAT_INTERVAL=${NETVISOR_HEARTBEAT_INTERVAL:-30}
|
|
volumes:
|
|
- daemon-config:/root/.config/netvisor/daemon
|
|
# Uncomment this if you want the daemon to be able to run docker discovery on the host it's running on
|
|
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
volumes:
|
|
daemon-config: |