2020-02-02 07:48:45 +00:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
2020-02-08 12:29:30 +00:00
|
|
|
networked-docker-containers = {
|
|
|
|
gitlab = {
|
|
|
|
image = "gitlab/gitlab-ce:latest";
|
|
|
|
ports = [
|
|
|
|
"3022:22"
|
|
|
|
];
|
|
|
|
volumes = [
|
|
|
|
"gitlab-data:/var/opt/gitlab:Z"
|
|
|
|
"gitlab-logs:/var/log/gitlab:Z"
|
|
|
|
"gitlab-config:/etc/gitlab:Z"
|
|
|
|
];
|
|
|
|
environment = {
|
|
|
|
VIRTUAL_HOST = "gitlab.tlater.net";
|
|
|
|
LETSENCRYPT_HOST = "gitlab.tlater.net";
|
|
|
|
GITLAB_OMNIBUS_CONFIG = builtins.replaceStrings [ "\n" ] [ "" ] (builtins.readFile ./configs/gitlab.rb);
|
|
|
|
};
|
|
|
|
networks = [
|
|
|
|
"webproxy"
|
|
|
|
];
|
|
|
|
};
|
2020-02-02 07:48:45 +00:00
|
|
|
};
|
|
|
|
}
|