add gitlab container docs
This commit is contained in:
16
active/container_gitlab/gitlab-compose.yaml
Normal file
16
active/container_gitlab/gitlab-compose.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
gitlab:
|
||||
image: gitlab/gitlab-ce:18.7.3-ce.0
|
||||
container_name: gitlab
|
||||
restart: always
|
||||
hostname: 'gitlab.example.com'
|
||||
ports:
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
- '22:22'
|
||||
volumes:
|
||||
- '$GITLAB_HOME/gitlab.rb:/etc/gitlab/gitlab.rb:ro'
|
||||
- '$GITLAB_HOME/config:/etc/gitlab'
|
||||
- '$GITLAB_HOME/logs:/var/log/gitlab'
|
||||
- '$GITLAB_HOME/data:/var/opt/gitlab'
|
||||
shm_size: '256m'
|
||||
Reference in New Issue
Block a user