forked from sameersbn/docker-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 997 Bytes
/
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
40
41
42
43
44
45
46
47
version: '2'
services:
redis:
restart: always
image: sameersbn/redis:latest
command:
- --loglevel warning
volumes:
- ./gitlab/redis:/var/lib/redis:Z
env_file: settings/redis.env
postgresql:
restart: always
image: sameersbn/postgresql:9.6-2
volumes:
- ./gitlab/postgresql:/var/lib/postgresql:Z
env_file: settings/postgresql.env
gitlab:
restart: always
image: sameersbn/gitlab:9.4.1
depends_on:
- redis
- postgresql
ports:
- "8888:80"
- "2222:22"
# external_links:
# - "registry:registry.example.com"
volumes:
- ./gitlab/gitlab:/home/git/data:Z
- ./logs:/var/log/gitlab
- ./certs:/certs
env_file : settings/gitlab.env
# registry:
# restart: always
# image: registry:2.4.1
# ports:
# - "5000:5000"
# volumes:
# - ./gitlab/registry:/var/lib/registry
# - ./certs:/certs
# external_links:
# - "gitlab:gitlab.example.com"
# env_file : settings/registry.env