-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (66 loc) · 1.74 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
postgresql:
image: sameersbn/postgresql:9.4-3
environment:
- DB_USER=gitlab
- DB_PASS=password
- DB_NAME=gitlabhq_production
volumes:
- /home/docker/gitlab/postgresql:/var/lib/postgresql
gitlab:
image: sameersbn/gitlab:8.9.5
links:
- redis:redisio
- postgresql:postgresql
- drone:drone.dev
ports:
- "10080:80"
- "10443:443"
- "2222:22"
environment:
- TZ=America/Mexico_City
- GITLAB_TIMEZONE=Kolkata
- GITLAB_SECRETS_DB_KEY_BASE=4BA
- GITLAB_HOST=domain.com
- GITLAB_PORT=443
- GITLAB_SSH_PORT=2222
- GITLAB_HTTPS=true
- SSL_SELF_SIGNED=true
- NGINX_HSTS_MAXAGE=2592000
- GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
- GITLAB_NOTIFY_PUSHER=false
- GITLAB_BACKUPS=daily
- GITLAB_BACKUP_TIME=01:00
- SMTP_ENABLED=true
- SMTP_DOMAIN=www.domain.com
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=587
- SMTP_PASS=secret
- SMTP_STARTTLS=true
- SMTP_AUTHENTICATION=login
- IMAP_ENABLED=false
- IMAP_HOST=imap.gmail.com
- IMAP_PORT=993
- IMAP_PASS=password
- IMAP_SSL=true
- IMAP_STARTTLS=false
volumes:
- /home/gitlab/gitlab:/home/git/data
redis:
image: sameersbn/redis:latest
volumes:
- /home/gitlab/redis:/var/lib/redis
drone:
image: drone/drone:0.4.2
ports:
- "10081:8000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/gitlab/drone:/var/lib/drone
environment:
REMOTE_DRIVER: gitlab
REMOTE_CONFIG: https://www.domain.com?client_id=XYZ&client_secret=ABC&open=true