new file: ansible/playbooks/gitlab-ci.yml

GitLab CI Playbook
new file:   docker-compose.yml
	GitLab docker-compose file
This commit is contained in:
Mike Holloway 2024-08-21 13:41:10 -04:00
commit edfc94a143
2 changed files with 29 additions and 0 deletions

View 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
View 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'