formations/cesi/metiers_devops/ressources/ci-env/docker-compose.yml

20 lines
489 B
YAML
Raw Normal View History

2018-06-27 16:09:39 +02:00
version: '2.2'
services:
gitlab:
image: gitlab/gitlab-ce:latest
restart: always
ports:
- "8443:443"
- "8080:80"
- "2222:22"
volumes:
- ./.data/gitlab/config:/etc/gitlab
- ./.data/gitlab/log:/var/log/gitlab
- ./.data/gitlab/data:/var/opt/gitlab
gitlab-runner:
image: gitlab/gitlab-runner
volumes:
- ./.data/gitlab-runner/config:/etc/gitlab
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- gitlab