services: nettrak: build: . container_name: nettrak ports: - "8080:8080" volumes: - ./data:/data environment: - NETTRAK_DB_PATH=/data/nettrak.db - NETTRAK_SUBNET=192.168.2.0/24 # For best host discovery on Linux, uncomment host networking: # network_mode: host