-
Notifications
You must be signed in to change notification settings - Fork 285
/
docker-compose.yml
165 lines (150 loc) · 4 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Please see https://docs.tuleap.org/installation-guide/docker-image.html
#
# This docker-compose file is meant to be used by developers working on the Tuleap codebase
services:
reverse-proxy:
build:
context: tools/docker/reverse-proxy
platforms:
- linux/amd64
volumes:
- ./tools/docker/reverse-proxy/nginx.conf:/etc/nginx/nginx.conf:ro,cached
- reverse-proxy-cert:/etc/pki/tls
depends_on:
- web
networks:
default:
aliases:
- tuleap-web.tuleap-aio-dev.docker # Same as the default sys_default_domain setting in a dev setup
web:
image: ghcr.io/enalean/tuleap-aio-dev:el9-php82
hostname: web
volumes:
- .:/usr/share/tuleap:cached
- tuleap-data:/data
- reverse-proxy-cert:/front-cert:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- .env:/root/.tuleap_env:ro
tmpfs: /run
env_file:
- .env
environment:
- TULEAP_SYS_DBHOST=db
cgroup: host
depends_on:
- ldap
- db
- mailhog
mailhog:
image: mailhog/mailhog
ldap:
image: ghcr.io/enalean/ldap
env_file:
- .env
volumes:
- ldap-data:/data
gerrit:
build:
context: tools/docker/gerrit
platforms:
- linux/amd64
env_file:
- .env
environment:
- CANONICAL_WEB_URL=http://gerrit.tuleap-aio-dev.docker:8080
volumes:
- gerrit-data:/data
depends_on:
- ldap
jenkins:
build:
context: tools/docker/jenkins
platforms:
- linux/amd64
environment:
- JENKINS_OPTS="--prefix=/jenkins"
volumes:
- jenkins-data:/var/jenkins_home
- reverse-proxy-cert:/opt/reverse-proxy-cert:ro
gitlab:
build:
context: tools/docker/gitlab
platforms:
- linux/amd64
hostname: 'gitlab.local'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.local'
letsencrypt['enable'] = false
volumes:
- gitlab-config:/etc/gitlab
- gitlab-data:/var/opt/gitlab
networks:
default:
aliases:
- gitlab.local
onlyoffice:
image: onlyoffice/documentserver:8.1.0@sha256:423328ee377374c48a30c2aa416e4afedf621faff068f97966cb9b87a28550bd
environment:
- JWT_ENABLED=true
- JWT_SECRET=TULEAP_DO_NOT_USE_THIS_IN_PRODUCTION
- USE_UNAUTHORIZED_STORAGE=true
keycloak:
image: quay.io/keycloak/keycloak:20.0.3
command:
- start-dev
- --import-realm
- --hostname-url https://tuleap-web.tuleap-aio-dev.docker/keycloak
- --hostname-strict=false
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
volumes:
- ./tools/docker/keycloak/data/import:/opt/keycloak/data/import
db:
image: mysql:8.0
env_file:
- .env
command: --upgrade=FORCE
volumes:
- ./src/etc/tuleap-mysql80-dev.cnf:/etc/mysql/conf.d/tuleap.cnf:ro,cached
- db80-data:/var/lib/mysql
redis:
image: redis:6.2.7@sha256:a93c14584715ec5bd9d2648d58c3b27f89416242bee0bc9e5fb2edc1a4cbec1d
volumes:
- redis-data:/data
command: redis-server --appendonly yes --auto-aof-rewrite-percentage 20 --auto-aof-rewrite-min-size 200kb
prometheus:
image: prom/prometheus:v2.3.0
volumes:
- .metrics_secret.key:/metrics_secret.key
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- prom-data:/prometheus
meilisearch:
image: getmeili/meilisearch:v1.6.0@sha256:5d43759296bfd10786bc08fce9df04792baae1ab7484710c1f635492087762c7
volumes:
- meilisearch-data:/meili_data
environment:
- MEILI_ENV=development
- MEILI_NO_ANALYTICS=true
- MEILI_MASTER_KEY=MEILI_MASTER_KEY_DO_NOT_USE_IN_PRODUCTION
ldap-admin:
image: osixia/phpldapadmin:0.7.1
volumes:
- ldap-data:/data
ports:
- "6443:443"
environment:
- PHPLDAPADMIN_LDAP_HOSTS=ldap
volumes:
tuleap-data:
ldap-data:
gerrit-data:
gitlab-config:
gitlab-data:
db80-data:
redis-data:
reverse-proxy-cert:
prom-data:
jenkins-data:
meilisearch-data: