new file: ansible/playbooks/gitlab-ci.yml
GitLab CI Playbook new file: docker-compose.yml GitLab docker-compose file
This commit is contained in:
commit
edfc94a143
8
ansible/playbooks/gitlab-ci.yml
Normal file
8
ansible/playbooks/gitlab-ci.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- hosts: gitlab.equilibrateit.com
|
||||
become: yes
|
||||
become_user: root
|
||||
|
||||
roles:
|
||||
- podman-host
|
||||
- podman-gitlab
|
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
version: '3.6'
|
||||
services:
|
||||
gitlab:
|
||||
image: gitlab/gitlab-ce:latest
|
||||
container_name: gitlab
|
||||
restart: always
|
||||
hostname: 'gitlab.equilibrateit.com'
|
||||
env_file: '.env'
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
# Add any other gitlab.rb configuration here, each on its own line
|
||||
external_url 'https://gitlab.equilibrateit.com'
|
||||
ports:
|
||||
- '8080:80'
|
||||
- '4443:443'
|
||||
- '2222:22'
|
||||
volumes:
|
||||
- '$GITLAB_HOME/config:/etc/gitlab'
|
||||
- '$GITLAB_HOME/logs:/var/log/gitlab'
|
||||
- '$GITLAB_HOME/data:/var/opt/gitlab'
|
||||
shm_size: '256m'
|
Loading…
Reference in New Issue
Block a user