mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
clean commit
This commit is contained in:
parent
8aa307af40
commit
12e2a3974e
27
gitlab-ce/docker-compose.yml
Normal file
27
gitlab-ce/docker-compose.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
version: '3.7'
|
||||
services:
|
||||
gitlab-ce:
|
||||
image: gitlab/gitlab-ce:latest
|
||||
restart: unless-stopped
|
||||
container_name: gitlab-ce
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
external_url 'http://gitlab.example.com' # please adjust
|
||||
ports:
|
||||
- 8033:80 # HTTP
|
||||
- 8434:443 # HTTPS
|
||||
- 2222:22 # SSH
|
||||
volumes:
|
||||
- /mnt/docker-volumes/gitlab/config:/etc/gitlab
|
||||
- /mnt/docker-volumes/gitlab/logs:/var/log/gitlab
|
||||
- /mnt/docker-volumes/gitlab/data:/var/opt/gitlab
|
||||
|
||||
gitlab-runner:
|
||||
image: gitlab/gitlab-runner:alpine
|
||||
container_name: gitlab-runner
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- gitlab-ce
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /mnt/docker-volumes/gitlab/runner:/etc/gitlab-runner
|
Loading…
Reference in New Issue
Block a user