marukuru: migrate to virtualisation.oci-containers
This commit is contained in:
parent
00a0e1d9ee
commit
7b61a7e558
1 changed files with 36 additions and 34 deletions
|
@ -109,14 +109,15 @@ in {
|
|||
email = "letsencrypt@lukegb.com";
|
||||
};
|
||||
|
||||
docker-containers.heptapod-runner = {
|
||||
virtualisation.oci-containers.containers = {
|
||||
heptapod-runner = {
|
||||
image = "octobus/heptapod-runner:0.2.0";
|
||||
volumes = [
|
||||
"/srv/gitlab-runner/config:/etc/gitlab-runner"
|
||||
"/var/run/docker.sock:/var/run/docker.sock"
|
||||
];
|
||||
};
|
||||
docker-containers.heptapod = {
|
||||
heptapod = {
|
||||
#image = "octobus/heptapod:0.13.0-py3";
|
||||
image = "heptapod:latest";
|
||||
ports = [
|
||||
|
@ -145,6 +146,7 @@ in {
|
|||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Container networking.
|
||||
networking.nat = {
|
||||
|
|
Loading…
Reference in a new issue