1

Remove gitlab service

This commit is contained in:
2023-12-27 22:58:05 +01:00
parent 30213d9e7d
commit c92eb7a1d7

View File

@ -1,37 +0,0 @@
{
config,
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.gitlab = {
image = "gitlab/gitlab-ce";
autoStart = true;
dependsOn = [
# "pihole"
];
ports = [
# "80:80"
# "443:443"
"2222:22" # SSH
];
volumes = [
"gitlab_config:/etc/gitlab"
"gitlab_logs:/var/log/gitlab"
"gitlab_data:/var/opt/gitlab"
];
environment = {
GITLAB_OMNIBUS_CONFIG = "external_url 'https://gitlab.local.chriphost.de:443'; gitlab_rails['gitlab_shell_ssh_port'] = 2222;";
};
extraOptions = [
# "--gpus=all"
"--net=behind-nginx"
"--shm-size=256m"
];
};
}