marc:linux:dockerfiles:gitlab
This is an old revision of the document!
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
marc/linux/dockerfiles/gitlab.1648570438.txt.gz · Last modified: (external edit)
