-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
39 lines (37 loc) · 1.03 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.5'
services:
gitlab:
image: gitlab/gitlab-ce:nightly
hostname: localhost
restart: unless-stopped
network_mode: bridge
# environment:
# GITLAB_OMNIBUS_CONFIG: |
# external_url 'http://localhost'
# gitlab_rails['gitlab_shell_ssh_port'] = 8822
ports:
- "80:80"
volumes:
- ./data/gitlab/config:/etc/gitlab
- ./data/gitlab/data:/var/opt/gitlab
- ./data/gitlab/logs:/var/log/gitlab
gitlab-runner:
image: gitlab/gitlab-runner:alpine
network_mode: bridge
restart: unless-stopped
depends_on:
- gitlab
volumes:
- ./data/gitlab-runner/config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
dns-proxy:
image: defreitas/dns-proxy-server
hostname: dns.proxy
network_mode: bridge
# ports:
# - 5380:5380
# - 53:53/udp
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/resolv.conf:/etc/resolv.conf
unicorn['socket'] = '/opt/gitlab/var/unicorn/gitlab.socket'