stpe 5 added to create docker compose file fot gitlab
Co-authored-by: jmhbnz <mail@jamesblair.net>
This commit is contained in:
21
docker-compose.yaml
Normal file
21
docker-compose.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
# Step 5 - Install gitlab via docker
|
||||
|
||||
# Next step to create docker compose file for gitlab
|
||||
|
||||
|
||||
web:
|
||||
image: 'gitlab/gitlab-ee:latest'
|
||||
restart: always
|
||||
hostname: 'gitlab.example.com'
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
external_url 'https://gitlab.example.com'
|
||||
# Add any other gitlab.rb configuration here, each on its own line
|
||||
ports:
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
- '22:22'
|
||||
volumes:
|
||||
- '$GITLAB_HOME/config:/etc/gitlab'
|
||||
- '$GITLAB_HOME/logs:/var/log/gitlab'
|
||||
- '$GITLAB_HOME/data:/var/opt/gitlab'
|
||||
Reference in New Issue
Block a user