19 lines
531 B
YAML
19 lines
531 B
YAML
services:
|
|
gitlab:
|
|
image: gitlab/gitlab-ce:17.1.0-ce.0
|
|
container_name: gitlab
|
|
restart: always
|
|
hostname: 'gitlab.corp.hm'
|
|
environment:
|
|
GITLAB_OMNIBUS_CONFIG: |
|
|
# Add any other gitlab.rb configuration here, each on its own line
|
|
external_url 'https://gitlab.corp.hm'
|
|
ports:
|
|
- '80:80'
|
|
- '443:443'
|
|
- '22:22'
|
|
volumes:
|
|
- '$GITLAB_HOME/config:/etc/gitlab'
|
|
- '$GITLAB_HOME/logs:/var/log/gitlab'
|
|
- '$GITLAB_HOME/data:/var/opt/gitlab'
|
|
shm_size: '256m' |