-
Notifications
You must be signed in to change notification settings - Fork 0
/
shared.docker-compose.yml
173 lines (163 loc) · 3.76 KB
/
shared.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
166
167
168
169
170
171
172
173
version: "3.9"
name: dev_infra
networks:
default:
name: dev-infra
# docker network create dev-infra
external: true
volumes:
sonar-data:
sonar-logs:
sonar-exts:
sonar-db:
openldap_data:
services:
# Zookeeper standalone
zookeeper:
platform: linux/amd64
image: wurstmeister/zookeeper:latest
networks:
default:
aliases:
- zookeeper.local.crm-alpha.com
ports:
- 2181:2181
restart: unless-stopped
# Kafka standalone
kafka:
platform: linux/amd64
image: wurstmeister/kafka:latest
environment:
- KAFKA_ZOOKEEPER_CONNECT
- KAFKA_ADVERTISED_HOST_NAME
networks:
default:
aliases:
- kafka.local.crm-alpha.com
ports:
- 9092:9092
restart: unless-stopped
kafka-ui:
image: provectuslabs/kafka-ui:latest
profiles:
- debug
depends_on:
- kafka
ports:
- 9103:8080
environment:
- KAFKA_CLUSTERS_0_NAME
- KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS
- KAFKA_CLUSTERS_1_NAME
- KAFKA_CLUSTERS_1_BOOTSTRAPSERVERS
- DYNAMIC_CONFIG_ENABLED
# volumes:
# - ~/kui/config.yml:/etc/kafkaui/dynamic_config.yaml
# Redis standalone
redis:
platform: linux/amd64
image: redis:alpine
networks:
default:
aliases:
- redis.local.crm-alpha.com
ports:
- 6379:6379
restart: unless-stopped
plantuml:
image: plantuml/plantuml-server:jetty
ports:
- 9999:8080
restart: unless-stopped
environment:
- BASE_URL
- PLANTUML_LIMIT_SIZE
- PLANTUML_STATS
- HTTP_AUTHORIZATION
- ALLOW_PLANTUML_INCLUDE
registry-explorer:
image: joxit/docker-registry-ui:latest
profiles:
- debug
ports:
- 9031:80
restart: unless-stopped
environment:
- REGISTRY_URL
- NGINX_PROXY_PASS_URL
- REGISTRY_TITLE
- DELETE_IMAGES
- SHOW_CONTENT_DIGEST
- CATALOG_ELEMENTS_LIMIT
- SINGLE_REGISTRY
- SHOW_CATALOG_NB_TAGS
- CATALOG_MIN_BRANCHES
- CATALOG_MAX_BRANCHES
- TAGLIST_PAGE_SIZE
- REGISTRY_SECURED
sonar:
# image: sonarqube:lts-community
image: sonarqube:lts-developer
profiles:
- extend
depends_on:
- sonardb
ports:
- 9000:9000
restart: unless-stopped
stop_grace_period: 1m30s
# sysctl: see .wslconfig
ulimits:
nproc: 8192
nofile: 131072
environment:
- SONAR_JDBC_URL
- SONAR_JDBC_USERNAME
- SONAR_JDBC_PASSWORD
- SONAR_SECURITY_REALM
- SONAR_AUTHENTICATOR_DOWNCASE
- LDAP_URL
- LDAP_USER_BASEDN
- LDAP_USER_REQUEST
- LDAP_USER_REALNAMEATTRIBUTE
- LDAP_USER_EMAILATTRIBUTE
- LDAP_BINDDN
- LDAP_BINDPASSWORD
volumes:
- sonar-data:/opt/sonarqube/data
- sonar-logs:/opt/sonarqube/logs
- sonar-exts:/opt/sonarqube/extensions
sonardb:
image: postgres:15-alpine
profiles:
- extend
networks:
default:
aliases:
- sonarqube-db01.crm-alpha.com
ports:
- 5432:5432
restart: unless-stopped
environment:
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
volumes:
- sonar-db:/var/lib/postgresql/data
openldap:
image: bitnami/openldap:2.6
profiles:
- extend
ports:
- 1389:1389
# - 1636:1636 # LDAPS
restart: unless-stopped
environment:
- LDAP_ROOT
- LDAP_ADMIN_USERNAME
- LDAP_ADMIN_PASSWORD
- LDAP_USERS
- LDAP_PASSWORDS
- LDAP_PASSWORD_HASH
volumes:
- openldap_data:/bitnami/openldap