====== Contents docker-compose.yml: ====== version: '3.6' services: web: image: 'gitlab/gitlab-ee:latest' restart: unless-stopped hostname: 'git.verhaar.cc' environment: GITLAB_OMNIBUS_CONFIG: | external_url 'https://git.verhaar.cc' # Add any other gitlab.rb configuration here, each on its own line ports: - '8088:80' - '4443:443' - '222:22' volumes: - './config:/etc/gitlab' - './logs:/var/log/gitlab' - './data:/var/opt/gitlab' shm_size: '256m' # After creation the default password for root is available in the container in # /etc/gitlab/initial_root_password for 24 hours! # Other settings can be found in /etc/gitlab/gitlab.rb # # To edit, open a prompt inside the container: docker exec -it gitlab /bin/bash # Now you can edit the files using the VI editor # # Updating the container: # 1) backup the container: docker exec -t gitlab-backup create # more information on:https://docs.gitlab.com/ee/install/docker.html#back-up-gitlab # 2) docker-compose down # 3) docker-compose pull # 4) docker-compose up -d