-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
57 lines (51 loc) · 1.56 KB
/
docker-compose.yaml
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
name: marklogic_spark
services:
# See https://caddyserver.com/docs/quick-starts/reverse-proxy for more information on using Caddy as a reverse proxy
# and load balancer.
caddy-load-balancer:
image: caddy:2-alpine
volumes:
# Not mapping the Caddy data directory, as that causes issues for Jenkins.
- ./docker/caddy/config/Caddyfile:/etc/caddy/Caddyfile
ports:
# Expand this range as needed. See Caddyfile for which ports are used for reverse proxies.
- "8115:8115"
- "8116:8116"
marklogic:
image: "${MARKLOGIC_TAG}"
platform: linux/amd64
environment:
- MARKLOGIC_INIT=true
- MARKLOGIC_ADMIN_USERNAME=admin
- MARKLOGIC_ADMIN_PASSWORD=admin
volumes:
- ./docker/marklogic/logs:/var/opt/MarkLogic/Logs
ports:
- "8000-8002:8000-8002"
- "8015:8015"
- "8016:8016"
# Copied from https://docs.sonarsource.com/sonarqube/latest/setup-and-upgrade/install-the-server/#example-docker-compose-configuration .
sonarqube:
image: sonarqube:lts-community
depends_on:
- postgres
environment:
SONAR_JDBC_URL: jdbc:postgresql://postgres:5432/sonar
SONAR_JDBC_USERNAME: sonar
SONAR_JDBC_PASSWORD: sonar
volumes:
- sonarqube_data:/opt/sonarqube/data
ports:
- "9000:9000"
postgres:
image: postgres:15
environment:
POSTGRES_USER: sonar
POSTGRES_PASSWORD: sonar
volumes:
- postgresql:/var/lib/postgresql
- postgresql_data:/var/lib/postgresql/data
volumes:
sonarqube_data:
postgresql:
postgresql_data: