marukuru: remove heptapod{,-runner}
This commit is contained in:
parent
67b038c2bc
commit
3318874168
1 changed files with 0 additions and 45 deletions
|
@ -115,51 +115,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.extraOptions = "--experimental --ipv6 --ip6tables --fixed-cidr-v6 2402:28c0:4:104e:d000::/68";
|
virtualisation.docker.extraOptions = "--experimental --ipv6 --ip6tables --fixed-cidr-v6 2402:28c0:4:104e:d000::/68";
|
||||||
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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
heptapod = let img = depot.nix.docker.heptapod; in {
|
|
||||||
image = "${img.meta.name}:${img.meta.tag}";
|
|
||||||
imageFile = img;
|
|
||||||
ports = [
|
|
||||||
# host:container
|
|
||||||
"22:22"
|
|
||||||
"80:80"
|
|
||||||
"443:443"
|
|
||||||
];
|
|
||||||
volumes = [
|
|
||||||
"/srv/gitlab/config:/etc/gitlab"
|
|
||||||
"/srv/gitlab/logs:/var/log/gitlab"
|
|
||||||
"/srv/gitlab/data:/var/opt/gitlab"
|
|
||||||
];
|
|
||||||
environment = {
|
|
||||||
GITLAB_OMNIBUS_CONFIG = builtins.replaceStrings ["\n"] [";"] ''
|
|
||||||
external_url "https://hg.lukegb.com"
|
|
||||||
letsencrypt['enable'] = true
|
|
||||||
letsencrypt['contact_emails'] = ['letsencrypt@lukegb.com']
|
|
||||||
nginx['redirect_http_to_https'] = true
|
|
||||||
nginx['listen_addresses'] = ["0.0.0.0", "[::]"]
|
|
||||||
|
|
||||||
gitlab_rails['smtp_enable'] = true
|
|
||||||
gitlab_rails['smtp_address'] = '103.105.48.15'
|
|
||||||
gitlab_rails['smtp_port'] = 25
|
|
||||||
gitlab_rails['gitlab_email_from'] = 'heptapod@hg.lukegb.com'
|
|
||||||
gitlab_rails['gitlab_email_reply_to'] = 'noreply@hg.lukegb.com'
|
|
||||||
|
|
||||||
prometheus['enable'] = false
|
|
||||||
|
|
||||||
puma['min_threads'] = 1
|
|
||||||
puma['max_threads'] = 1
|
|
||||||
puma['worker_processes'] = 0
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Container networking.
|
# Container networking.
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
|
|
Loading…
Reference in a new issue