gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: config guix


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: config guix
Date: Thu, 14 Jun 2018 12:51:38 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new d8f0243  config guix
     new 1442a05  Merge branch 'master' of git.taler.net:deployment
d8f0243 is described below

commit d8f02430fddf352573e6f372b9e4be359707ad17
Author: Nils Gillmann <address@hidden>
AuthorDate: Thu Jun 14 10:51:49 2018 +0000

    config guix
    
    Signed-off-by: Nils Gillmann <address@hidden>
---
 guix/config.scm | 62 ++++++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 42 insertions(+), 20 deletions(-)

diff --git a/guix/config.scm b/guix/config.scm
index 247a668..8c66aa5 100644
--- a/guix/config.scm
+++ b/guix/config.scm
@@ -13,7 +13,7 @@
 ;; FIXME: Create jobs.
 
 (define %sysadmins
-  ;; The sys-admins
+  ;; The sys-admins. TODO: More.
   (list (sysadmin (name "gillmann")
                   (full-name "Nils Gillmann")
                   (ssh-public-key (local-file "keys/ssh/ng0.pub")))
@@ -53,13 +53,13 @@
 
   ;; Local admin account
   ;; FIXME: Do we really need this?
-  (users (cons (user-account
-                (name "local-admin")
-                (comment "Local admin")
-                (group "users")
-                (supplementary-groups '("wheel"))
-                (home-directory "/home/local-admin"))
-               %base-user-accounts))
+  ;; (users (cons (user-account
+  ;;               (name "local-admin")
+  ;;               (comment "Local admin")
+  ;;               (group "users")
+  ;;               (supplementary-groups '("wheel"))
+  ;;               (home-directory "/home/local-admin"))
+  ;;              %base-user-accounts))
 
   (packages (append (map specification->package '("nvi" "mg" ;editors
                                                   "openssh"
@@ -67,7 +67,7 @@
                                                   ;; FIXME: better would be to 
read gnunet-inputs and -native-inputs.
                                                   "curl" "libmicrohttpd" 
"gnutls/dane"
                                                   "sqlite" "jansson" "nss" 
"gmp"
-                                                  "bluez" "glib" "libogg" 
"python-2"
+                                                  "bluez" "glib" "libogg" 
"python2"
                                                   "perl" "doxygen" ; FIXME: is 
perl necessary?
                                                   "opus" "pulseaudio" ;PA on 
server, for building?
                                                   "libunistring" "libltdl" 
"zlib" "libgcrypt" "libextractor"
@@ -89,10 +89,12 @@
              ;; CERTIFICATES
              (service certbot-service-type
                       (certbot-configuration
-                       (hosts '(("taler.net")))))
+                       ;; TODO: Any other (sub)domains?
+                       (hosts '(("taler.net")
+                                ("git.taler.net")))))
 
              ;; MAIL
-             ;; FIXME: Policy is to just receive mail.
+             ;; FIXME: Policy is to just RECEIVE mail.
              ;; Produce the /etc/alias file:
              ;; insert a service to copy local file to /etc/aliases here.
              ;; Depending on the final server policies, adjust to
@@ -122,21 +124,41 @@
                        (password-authentication? #f)))
 
              ;; Databases
-             (mysql-service
-              #:config
-              (mysql-configuration
-               ;; Defaults to mariadb,
-               ;; read `info guix services`, section databases.
-               ;;(mysql "mysql")
-               ;; Default portnumber, must be a NUMBER not a string.
-               (port 3306)))
+             ;; (mysql-service
+             ;;  #:config
+             ;;  (mysql-configuration
+             ;;   ;; Defaults to mariadb,
+             ;;   ;; read `info guix services`, section databases.
+             ;;   ;;(mysql "mysql")
+             ;;   ;; Default portnumber, must be a NUMBER not a string.
+             ;;   (port 3306)))
+             ;;  TODO: PostgreSQL -> exact config: ???
+             (swervice postgresql-service-type)
 
              ;; WEBSERVER
              ;;(service nginx-service-type)
+             (service nginx-service-type
+                      (nginx-configuration
+                       (server-blocks
+                        (list
+                         (nginx-server-configuration
+                          (listen '("443 ssl"))
+                          (server-name "git.taler.net")
+                          (ssl-certificate
+                           "/etc/letsencrypt/live/git.taler.net/fullchain.pem")
+                          (ssl-certificate-key
+                           "/etc/letsencrypt/live/git.taler.net/privkey.pem")
+                          (locations
+                           (list
+                            (git-http-nginx-location-configuration
+                             (git-http-configuration (uri-path "/"))))))))))
              ;;(service fcgiwrap-service-type)
              ;; FIXME: Check cgit-service-type + gitolite options.
              ;; FIXME: Extend cgit service.
              ;;(service cgit-service-type)
+             (service cgit-service-type
+                      (opaque-cgit-configuration
+                       (cgitrc "")))
 
              ;; CGIT:
              ;;(service nginx-service-type)
@@ -179,4 +201,4 @@
               #:netmask "255.255.255.240"
               #:gateway "131.159.74.78"
               #:name-servers '("" "" ""))
-            %base-services)))
+             %base-services)))

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]