Open1

GitLab on Mac

fuyufuyu

環境構築

docker-compose.yml
version: '3.8'
services:
  web:
    image: 'gitlab/gitlab-ce:latest'
    restart: always
    hostname: 'localhost'
    container_name: gitlab-ce
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://localhost'
    ports:
      - '8080:80'
      - '8443:443'
    volumes:
      - '$GITLAB_HOME/config:/etc/gitlab'
      - '$GITLAB_HOME/logs:/var/log/gitlab'
      - '$GITLAB_HOME/data:/var/opt/gitlab'

参照

https://docs.gitlab.com/ee/install/docker.html#install-gitlab-using-docker-compose

https://docs.gitlab.com/runner/install/docker.html#install-the-docker-image-and-start-the-container

https://www.czerniga.it/2021/11/14/how-to-install-gitlab-using-docker-compose/

https://docs.docker.jp/compose/compose-file/compose-versioning.html

https://docs.docker.com/compose/compose-file/