From 7f5193fe63acf18ccd921179dc514319f3f632f5 Mon Sep 17 00:00:00 2001 From: polarwinkel Date: Mon, 17 May 2021 18:41:04 +0200 Subject: [PATCH] initial release --- docker-compose.yml | 24 ++++++++++++++++++++++++ settings.env.default | 1 + 2 files changed, 25 insertions(+) create mode 100644 docker-compose.yml create mode 100644 settings.env.default diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..ad1862f --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,24 @@ +version: '3' + +services: + gitlab: + image: gitlab/gitlab-ce:latest + container_name: gitlab + restart: always + volumes: + - + networks: + - + ports: + - '8929:8929' + - '2224:22' + volumes: + - '$GITLAB_HOME/config:/etc/gitlab' + - '$GITLAB_HOME/logs:/var/log/gitlab' + - '$GITLAB_HOME/data:/var/opt/gitlab' + #environment: + # GITLAB_OMNIBUS_CONFIG: | + # external_url 'http://gitlab.example.com:8929' + # gitlab_rails['gitlab_shell_ssh_port'] = 2224 + env_file: + - ./settings.env diff --git a/settings.env.default b/settings.env.default new file mode 100644 index 0000000..2b5eb9c --- /dev/null +++ b/settings.env.default @@ -0,0 +1 @@ +GITLAB_OMNIBUS_CONFIG = external_url 'http://gitlab.your-domain.tld:8929'