forked from gitlabhq/terraform-provider-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (53 loc) · 1.48 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
version: '3'
# Acceptance tests depend on a running GitLab instance.
# Only one of these services should be run at a time.
services:
gitlab-ce:
image: gitlab/gitlab-ce:${GITLAB_CE_VERSION:-latest}
restart: always
ports:
- 8080:80
environment:
GITLAB_ROOT_PASSWORD: adminadmin
labels:
terraform-provider-gitlab/owned: ''
volumes:
- config-ce:/etc/gitlab
- logs-ce:/var/log/gitlab
- data-ce:/var/opt/gitlab
- ${PWD}/scripts/healthcheck-and-setup.sh:/healthcheck-and-setup.sh:Z
- ${PWD}/scripts/gitlab.rb:/etc/gitlab/gitlab.rb:ro
- ${PWD}/certs:/etc/gitlab/ssl:ro
healthcheck:
test: /healthcheck-and-setup.sh
interval: 10s
timeout: 2m
gitlab-ee:
image: gitlab/gitlab-ee:${GITLAB_EE_VERSION:-latest}
restart: always
ports:
- 8080:80
environment:
GITLAB_ROOT_PASSWORD: adminadmin
GITLAB_LICENSE_FILE: /Gitlab-license.txt
labels:
terraform-provider-gitlab/owned: ''
volumes:
- config-ee:/etc/gitlab
- logs-ee:/var/log/gitlab
- data-ee:/var/opt/gitlab
- ${PWD}/scripts/healthcheck-and-setup.sh:/healthcheck-and-setup.sh:Z
- ${PWD}/Gitlab-license.txt:/Gitlab-license.txt:Z
- ${PWD}/scripts/gitlab.rb:/etc/gitlab/gitlab.rb:ro
- ${PWD}/certs:/etc/gitlab/ssl:ro
healthcheck:
test: /healthcheck-and-setup.sh
interval: 10s
timeout: 2m
volumes:
config-ce:
logs-ce:
data-ce:
config-ee:
logs-ee:
data-ee: