stpe 5 added to create docker compose file fot gitlab
Co-authored-by: jmhbnz <mail@jamesblair.net>
This commit is contained in:
23
README.org
23
README.org
@ -118,7 +118,28 @@ gcloud compute ssh $gcp_machine_name --ssh-key-file ~/.ssh/$USER -- "sudo chmod
|
||||
|
||||
* Step 5 - Install gitlab via docker
|
||||
|
||||
Coming soon...
|
||||
Next step to create docker compose file for gitlab
|
||||
|
||||
#+begin_src yaml :tangle docker-compose.yaml
|
||||
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'
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
* Step 6 - Teardown cloud resources
|
||||
|
||||
Reference in New Issue
Block a user