aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-07-08 18:26:04 +0530
committerArun Isaac2022-07-08 18:26:04 +0530
commitb31af6e8b932de7f80354080779a2dc922d39ef5 (patch)
tree450841f18e2d923fe2877b8b0012c58e165c382c
parenta62d9eec45d73b55ac6a5f8883d04ace393bab42 (diff)
downloadgn-machines-b31af6e8b932de7f80354080779a2dc922d39ef5.tar.gz
Map mysqld socket into the genenetwork3 container.
* genenetwork-development.scm (genenetwork3-shepherd-service): Map mysqld socket into the container.
-rw-r--r--genenetwork-development.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 90ecc0d..e1a3add 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -411,7 +411,11 @@ command to be executed."
"127.0.0.1" #$(number->string (development-server-configuration-port config)))
#:mappings (list (file-system-mapping
(source #$(development-server-configuration-executable-path config))
- (target source)))
+ (target source))
+ (file-system-mapping
+ (source "/run/mysqld/mysqld.sock")
+ (target source)
+ (writable? #t)))
#:log-file "/var/log/genenetwork3.log")))
(stop #~(make-kill-destructor))))