container_name
This commit is contained in:
18
gitlab/docker-compose.yml
Normal file
18
gitlab/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
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:
|
||||
- '80:80'
|
||||
- '22:22'
|
||||
volumes:
|
||||
- 'gitlab_config:/etc/gitlab'
|
||||
- 'gitlab_logs:/var/log/gitlab'
|
||||
- 'gitlab_data:/var/opt/gitlab'
|
||||
Reference in New Issue
Block a user