aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-05-07 08:38:32 +0300
committerMunyoki Kilyungi2025-05-07 10:25:56 +0300
commit3c7f4368a22328dceaf9c2b0ae856c292ea04134 (patch)
treefd6e6fb7e3c2f35ae7dbebdcf6e458344609bcf9
parentc1d4a9a7c410f5dfb0737aa69cd68342cb6154de (diff)
downloadgn-machines-3c7f4368a22328dceaf9c2b0ae856c292ea04134.tar.gz
Use "db_webqtl_local" for the database.
-rw-r--r--genenetwork-local-container.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/genenetwork-local-container.scm b/genenetwork-local-container.scm
index bdc3b05..01df76a 100644
--- a/genenetwork-local-container.scm
+++ b/genenetwork-local-container.scm
@@ -106,7 +106,7 @@ server described by CONFIG, a <genenetwork-configuration> object."
"GN3_LOCAL_URL=\"http://localhost:" (number->string gn3-port) "\"\n"
"GN_SERVER_URL=\"http://localhost:" (number->string gn3-port) "/api/\"\n"
"AUTH_SERVER_URL=\"http://localhost:" (number->string gn-auth-port) "\"\n"
- "SQL_URI=\"mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock&charset=utf8\"\n"
+ "SQL_URI=\"mysql://webqtlout:webqtlout@localhost/db_webqtl_local?unix_socket=/run/mysqld/mysqld.sock&charset=utf8\"\n"
"SSL_PRIVATE_KEY=\"/etc/genenetwork/conf/gn2/private.pem\"\n"
"AUTH_SERVER_SSL_PUBLIC_KEY=\"/etc/genenetwork/conf/gn-auth/clients-public-keys/gn-auth.pem\"\n"))
;; We actually set here twice so that we can refer to it
@@ -161,7 +161,7 @@ server described by CONFIG, a <genenetwork-configuration> object."
(setenv "GN3_CONF" "/etc/genenetwork/conf/gn3.conf")
(setenv "GN3_SECRETS" #$gn3-secrets)
(setenv "HOME" "/tmp")
- (setenv "SQL_URI" "mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock")
+ (setenv "SQL_URI" "mysql://webqtlout:webqtlout@localhost/db_webqtl_local?unix_socket=/run/mysqld/mysqld.sock")
(setenv "FLASK_ENV" "development")
(setenv "FLASK_DEBUG" "1")
@@ -187,7 +187,7 @@ server described by CONFIG, a <genenetwork-configuration> object."
(lambda ()
(display #$(string-append
"LOGLEVEL=\"DEBUG\"\n"
- "SQL_URI=\"mysql://webqtlout:webqtlout@localhost/db_webqtl?unix_socket=/run/mysqld/mysqld.sock\"\n"
+ "SQL_URI=\"mysql://webqtlout:webqtlout@localhost/db_webqtl_local?unix_socket=/run/mysqld/mysqld.sock\"\n"
"AUTH_DB=\"" auth-db-path "\"\n"
"GN_AUTH_SECRETS=\"" gn-auth-secrets "\"\n"))
(display "GN_AUTH_PROFILE=\"")