GitLab
This commit is contained in:
parent
ce1cbf864c
commit
b32431e33d
3 changed files with 62 additions and 0 deletions
27
gitlab/docker-compose.yml
Normal file
27
gitlab/docker-compose.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
version: '3.6'
|
||||
services:
|
||||
web:
|
||||
image: 'gitlab/gitlab-ee:latest'
|
||||
restart: always
|
||||
hostname: 'gitlab.example.com'
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
external_url 'https://git.cdaut.de'
|
||||
gitlab_rails['gitlab_shell_ssh_port'] = 2224
|
||||
# Add any other gitlab.rb configuration here, each on its own line
|
||||
ports:
|
||||
- '5443:443'
|
||||
- '2224:22'
|
||||
volumes:
|
||||
- './config:/etc/gitlab'
|
||||
- './logs:/var/log/gitlab'
|
||||
- './data:/var/opt/gitlab'
|
||||
shm_size: '256m'
|
||||
|
||||
runner:
|
||||
image: 'gitlab/gitlab-runner:alpine'
|
||||
restart: always
|
||||
volumes:
|
||||
- './runner_config.toml:/etc/gitlab-runner/config.toml'
|
||||
- '/etc/letsencrypt/live/git.cdaut.de/fullchain.pem:/etc/gitlab-runner/certs/git.cdaut.de.crt'
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
Loading…
Add table
Add a link
Reference in a new issue