summaryrefslogtreecommitdiff
path: root/topics/guix
diff options
context:
space:
mode:
Diffstat (limited to 'topics/guix')
-rw-r--r--topics/guix/guix-system-containers-and-how-we-use-them.gmi29
1 files changed, 29 insertions, 0 deletions
diff --git a/topics/guix/guix-system-containers-and-how-we-use-them.gmi b/topics/guix/guix-system-containers-and-how-we-use-them.gmi
index 26baca8..f9d7253 100644
--- a/topics/guix/guix-system-containers-and-how-we-use-them.gmi
+++ b/topics/guix/guix-system-containers-and-how-we-use-them.gmi
@@ -72,3 +72,32 @@ Finally, we must also tell Guix not to accidentally garbage collect our containe
```
# ln --force --symbolic /usr/local/bin/foo-container /var/guix/gcroots
```
+
+# Example
+
+On tux02 we run CI/CD system containers. The systemd config is simple:
+
+```
+[Unit]
+Description = Run genenetwork development container
+
+[Service]
+ExecStart = /usr/local/bin/genenetwork-development-container
+
+[Install]
+WantedBy = multi-user.target
+```
+
+where /usr/local/bin/genenetwork-development-container -> /gnu/store/8rkh8yjzqhcr3s5zl9mw8y4jh44fr5pr-run-container
+
+The code is currently running from Arun's $HOME from the git repo at
+
+=> https://git.genenetwork.org/gn-machines/
+
+Probably worth reading the
+
+=> https://git.genenetwork.org/gn-machines/tree/README.org README
+
+Here we focus on the production server setup running on test01:
+
+=> https://git.genenetwork.org/gn-machines/tree/production.scm