view service/dhcpleases/serv.n3 @ 1718:82213d91471c

new cam component with http server
author drewp@bigasterisk.com
date Sun, 07 Aug 2022 04:43:47 -0700
parents d7e82b1b31c4
children
line wrap: on
line source

@prefix : <http://bigasterisk.com/ns/serv#> .
@prefix auth: <http://bigasterisk.com/ns/serv/auth#> .
@prefix serv: <http://bigasterisk.com/services/> .


serv:dhcpLeases a :Service;
      :path "/dhcpLeases/";
      :openid auth:admin;
      :serverHost "bang";
      :internalPort 9073;
      :prodDockerFlags (
        "-p" "9073:9073"
        "--net=host"
        "-v" "/opt/dnsmasq:/opt/dnsmasq"
      );
      :localDockerFlags (
        "-v" "`pwd`:/opt"
      );
      :localRunCmdline (
        "python3" "dhcpLeases.py" "-v"
      );
      :dockerFile "Dockerfile"
.