-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
74 lines (67 loc) · 2.12 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
name: flux
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:
- ./test-app/caddy/data:/data
- ./test-app/caddy/config/Caddyfile:/etc/caddy/Caddyfile
ports:
# Expand this range as needed. See Caddyfile for which ports are used for reverse proxies.
- 8006:8006
- 8007:8007
marklogic:
image: "progressofficial/marklogic-db:11.3.0-ubi"
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-8005:8000-8005
postgres:
image: postgres:15-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgresql:/var/lib/postgresql
- postgresql_data:/var/lib/postgresql/data
# Simplifies restoring the dvdrental.tar into Postgres.
- ./docker/postgres:/opt
ports:
- "5432:5432"
# Postgres DVD rental example - https://www.postgresqltutorial.com/postgresql-getting-started/postgresql-sample-database/
pgadmin:
image: dpage/pgadmin4:latest
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: postgres
PGADMIN_LISTEN_PORT: 80
ports:
- 15432:80
depends_on:
- postgres
# Copied from https://docs.sonarsource.com/sonarqube/latest/setup-and-upgrade/install-the-server/#example-docker-compose-configuration .
sonarqube:
image: sonarqube:10.6.0-community
depends_on:
- postgres
environment:
SONAR_JDBC_URL: jdbc:postgresql://postgres:5432/postgres
SONAR_JDBC_USERNAME: postgres
SONAR_JDBC_PASSWORD: postgres
volumes:
- sonarqube_data:/opt/sonarqube/data
- sonarqube_extensions:/opt/sonarqube/extensions
- ./docker/sonarqube/logs:/opt/sonarqube/logs
ports:
- "9000:9000"
volumes:
sonarqube_data:
sonarqube_extensions:
postgresql:
postgresql_data: