Files
ns-gl/docker-compose.yaml
T
2025-12-25 20:35:54 +00:00

36 lines
747 B
YAML

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: