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

GitLab CI Playbook
new file:   docker-compose.yml
	GitLab docker-compose file
opentofu-work
Mike Holloway 4 months ago
commit edfc94a143
  1. 8
      ansible/playbooks/gitlab-ci.yml
  2. 21
      docker-compose.yml

@ -0,0 +1,8 @@
---
- hosts: gitlab.equilibrateit.com
become: yes
become_user: root
roles:
- podman-host
- podman-gitlab

@ -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…
Cancel
Save