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'