Files
docker-compose/gitlab/docker-compose.yml
Iwan Clement 7968fb4773 ports
2020-04-18 08:12:52 +02:00

18 lines
550 B
YAML

version: 2
services:
web:
image: 'gitlab/gitlab-ce:latest'
container_name: gitlab_ce
restart: always
hostname: 'gitlab.devops-lyon.eu'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.devops-lyon.eu'
# Add any other gitlab.rb configuration here, each on its own line
ports:
- '4380:80'
- '4322:22'
volumes:
- 'gitlab_config:/etc/gitlab'
- 'gitlab_logs:/var/log/gitlab'
- 'gitlab_data:/var/opt/gitlab'