-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
122 lines (118 loc) · 3.57 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
122 lines (118 loc) · 3.57 KB
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
# Copyright (c) 2015-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
name: docker-tests-ml-gradle
services:
marklogic:
image: "${MARKLOGIC_IMAGE}"
platform: linux/amd64
# The NET_RAW capability allows a process to create raw sockets. Polaris does not like that.
# This setting removes the NET_RAW capability from the container.
cap_drop:
- NET_RAW
environment:
- MARKLOGIC_INIT=true
- MARKLOGIC_ADMIN_USERNAME=admin
- MARKLOGIC_ADMIN_PASSWORD=admin
volumes:
- ${MARKLOGIC_LOGS_PATH}:/var/opt/MarkLogic/Logs
ports:
- "8000-8006:8000-8006"
# The six-node cluster defined below is used for manual testing of operations that require a cluster of 3 or more
# hosts, such as creating forest replicas.
# This is commented out by default, but can be enabled by uncommenting the sections below.
# node1:
# image: "progressofficial/marklogic-db:latest"
# platform: linux/amd64
# hostname: node1.local
# environment:
# - MARKLOGIC_INIT=true
# - MARKLOGIC_ADMIN_USERNAME=admin
# - MARKLOGIC_ADMIN_PASSWORD=admin
# volumes:
# - ./docker/marklogic/node1/logs:/var/opt/MarkLogic/Logs
# ports:
# - 8100-8103:8000-8003
#
# node2:
# image: "progressofficial/marklogic-db:latest"
# platform: linux/amd64
# hostname: node2.local
# depends_on:
# - node1
# environment:
# - MARKLOGIC_INIT=true
# - MARKLOGIC_ADMIN_USERNAME=admin
# - MARKLOGIC_ADMIN_PASSWORD=admin
# - MARKLOGIC_JOIN_CLUSTER=true
# - MARKLOGIC_BOOTSTRAP_HOST=node1.local
# volumes:
# - ./docker/marklogic/node2/logs:/var/opt/MarkLogic/Logs
# ports:
# - 8200-8203:8000-8003
#
# node3:
# image: "progressofficial/marklogic-db:latest"
# platform: linux/amd64
# hostname: node3.local
# depends_on:
# - node1
# environment:
# - MARKLOGIC_INIT=true
# - MARKLOGIC_ADMIN_USERNAME=admin
# - MARKLOGIC_ADMIN_PASSWORD=admin
# - MARKLOGIC_JOIN_CLUSTER=true
# - MARKLOGIC_BOOTSTRAP_HOST=node1.local
# volumes:
# - ./docker/marklogic/node3/logs:/var/opt/MarkLogic/Logs
# ports:
# - 8300-8303:8000-8003
#
# node4:
# image: "progressofficial/marklogic-db:latest"
# platform: linux/amd64
# hostname: node4.local
# depends_on:
# - node1
# environment:
# - MARKLOGIC_INIT=true
# - MARKLOGIC_ADMIN_USERNAME=admin
# - MARKLOGIC_ADMIN_PASSWORD=admin
# - MARKLOGIC_JOIN_CLUSTER=true
# - MARKLOGIC_BOOTSTRAP_HOST=node1.local
# volumes:
# - ./docker/marklogic/node4/logs:/var/opt/MarkLogic/Logs
# ports:
# - 8500-8503:8000-8003
#
# node5:
# image: "progressofficial/marklogic-db:latest"
# platform: linux/amd64
# hostname: node5.local
# depends_on:
# - node1
# environment:
# - MARKLOGIC_INIT=true
# - MARKLOGIC_ADMIN_USERNAME=admin
# - MARKLOGIC_ADMIN_PASSWORD=admin
# - MARKLOGIC_JOIN_CLUSTER=true
# - MARKLOGIC_BOOTSTRAP_HOST=node1.local
# volumes:
# - ./docker/marklogic/node5/logs:/var/opt/MarkLogic/Logs
# ports:
# - 8600-8603:8000-8003
#
# node6:
# image: "progressofficial/marklogic-db:latest"
# platform: linux/amd64
# hostname: node6.local
# depends_on:
# - node1
# environment:
# - MARKLOGIC_INIT=true
# - MARKLOGIC_ADMIN_USERNAME=admin
# - MARKLOGIC_ADMIN_PASSWORD=admin
# - MARKLOGIC_JOIN_CLUSTER=true
# - MARKLOGIC_BOOTSTRAP_HOST=node1.local
# volumes:
# - ./docker/marklogic/node6/logs:/var/opt/MarkLogic/Logs
# ports:
# - 8700-8703:8000-8003