27 lines
No EOL
822 B
YAML
27 lines
No EOL
822 B
YAML
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' |