diff service/dhcpleases/serv.n3 @ 745:d7e82b1b31c4

build updates Ignore-this: 778aa92957159f60aa3b1c75d1a51dfd
author drewp@bigasterisk.com
date Thu, 13 Feb 2020 10:19:22 -0800
parents fdddbdaf07b5
children
line wrap: on
line diff
--- a/service/dhcpleases/serv.n3	Thu Feb 13 10:17:54 2020 -0800
+++ b/service/dhcpleases/serv.n3	Thu Feb 13 10:19:22 2020 -0800
@@ -2,3 +2,23 @@
 @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"
+.
+