From 42aa2d00882ebd7bedbac7f7c4d4eef06f765b4c Mon Sep 17 00:00:00 2001 From: Leon Adomaitis <47161699+GunniBusch@users.noreply.github.com> Date: Sun, 23 Jun 2024 03:52:29 +0200 Subject: [PATCH] add first outline of the gitlab compose file --- templates/compose/gitlab.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/compose/gitlab.yaml diff --git a/templates/compose/gitlab.yaml b/templates/compose/gitlab.yaml new file mode 100644 index 000000000..c1eeddd29 --- /dev/null +++ b/templates/compose/gitlab.yaml @@ -0,0 +1,18 @@ +services: + gitlab: + image: 'gitlab/gitlab-ce:latest' + container_name: gitlab + restart: always + hostname: '${SERVICE_URL_GITLAB}' + environment: + - SERVICE_FQDN_GITLAB_80 + - EXTERNAL_URL=$SERVICE_FQDN_GITLAB + - GITLAB_HOST=$SERVICE_FQDN_GITLAB + - GITLAB_OMNIBUS_CONFIG="external_url=${SERVICE_FQDN_GITLAB}; gitlab_rails['gitlab_shell_ssh_port'] = 2222" + ports: + - '2222:22' + volumes: + - 'gitlab-config:/etc/gitlab' + - 'gitlab-logs:/var/log/gitlab' + - 'gitlab-data:/var/opt/gitlab' + shm_size: 256m