aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-10-17 17:45:11 +0530
committerArun Isaac2022-10-17 17:45:11 +0530
commita5eb15dba2c3518c69f6e09b4aa40e5eaefb6317 (patch)
tree6087402e42bad126eb1eab1e9dde975e64f3d07c
parente66934449fb972514b6007c6fc8966d2bcd68aa6 (diff)
downloadgn-machines-a5eb15dba2c3518c69f6e09b4aa40e5eaefb6317.tar.gz
Use <forge-ip-socket> object to specify webhook port.
* genenetwork-development.scm: Import (forge socket). (operating-system)[services]: Use <forge-ip-socket> object to specify webhook port.
-rw-r--r--genenetwork-development.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index b2e374c..24a888d 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -60,6 +60,7 @@
(guix store)
(forge forge)
(forge laminar)
+ (forge socket)
(forge tissue)
(forge utils)
(forge webhook)
@@ -858,7 +859,9 @@ reverse proxy tissue."
(laminar-template-gexp "https://issues.genenetwork.org"))))
(service webhook-service-type
(webhook-configuration
- (port %webhook-port)))
+ (socket (forge-ip-socket
+ (ip "127.0.0.1")
+ (port %webhook-port)))))
(service redis-service-type)
(service virtuoso-service-type
(virtuoso-configuration