diff options
author | Pjotr Prins | 2024-02-27 14:29:21 +0100 |
---|---|---|
committer | Pjotr Prins | 2024-02-27 14:29:27 +0100 |
commit | d0db4236fab288543391ca5e6024b2815c996eb7 (patch) | |
tree | 73d70959b4682458c4311e46fcf3b26b765ff48e /topics/guix | |
parent | 3100a094e5a97e0b00709886e861ace6f164a1dd (diff) | |
download | gn-gemtext-d0db4236fab288543391ca5e6024b2815c996eb7.tar.gz |
fallback
Diffstat (limited to 'topics/guix')
-rw-r--r-- | topics/guix/guix-system-containers-and-how-we-use-them.gmi | 29 |
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 |