marukuru: migrate to virtualisation.oci-containers

This commit is contained in:
Luke Granger-Brown 2020-09-06 16:38:54 +00:00
parent 00a0e1d9ee
commit 7b61a7e558

View file

@ -109,14 +109,15 @@ in {
email = "letsencrypt@lukegb.com"; email = "letsencrypt@lukegb.com";
}; };
docker-containers.heptapod-runner = { virtualisation.oci-containers.containers = {
heptapod-runner = {
image = "octobus/heptapod-runner:0.2.0"; image = "octobus/heptapod-runner:0.2.0";
volumes = [ volumes = [
"/srv/gitlab-runner/config:/etc/gitlab-runner" "/srv/gitlab-runner/config:/etc/gitlab-runner"
"/var/run/docker.sock:/var/run/docker.sock" "/var/run/docker.sock:/var/run/docker.sock"
]; ];
}; };
docker-containers.heptapod = { heptapod = {
#image = "octobus/heptapod:0.13.0-py3"; #image = "octobus/heptapod:0.13.0-py3";
image = "heptapod:latest"; image = "heptapod:latest";
ports = [ ports = [
@ -145,6 +146,7 @@ in {
''; '';
}; };
}; };
};
# Container networking. # Container networking.
networking.nat = { networking.nat = {