feat: init repo for gitlab iac

This commit is contained in:
Ivan I. Ovchinnikov
2025-12-25 20:35:54 +00:00
commit 7c0e112d28
5 changed files with 123 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
services:
gitlab:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab.nstest.local'
container_name: gitlab-ce
env_file:
- gitlab.env
ports:
- '8586:8081'
- '8545:443'
- '8090:8090'
- '22:22'
volumes:
- '$GITLAB_HOME/config:/etc/gitlab'
- '$GITLAB_HOME/logs:/var/log/gitlab'
- '$GITLAB_HOME/data:/var/opt/gitlab'
networks:
- gitlab
gitlab-runner:
image: gitlab/gitlab-runner:latest
container_name: gitlab-runner
restart: always
user: root
depends_on:
- gitlab
volumes:
- ./runner-config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
networks:
- gitlab
networks:
gitlab: