forked from marklogic/java-client-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
24 lines (21 loc) · 773 Bytes
/
docker-compose.yaml
File metadata and controls
24 lines (21 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: docker-tests-java-client
services:
marklogic:
image: "${MARKLOGIC_IMAGE}"
platform: "${PLATFORM:-linux/amd64}"
environment:
- INSTALL_CONVERTERS=${MARKLOGIC_INSTALL_CONVERTERS:-true}
- MARKLOGIC_INIT=true
- MARKLOGIC_ADMIN_USERNAME=admin
- MARKLOGIC_ADMIN_PASSWORD=admin
# 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
volumes:
- ${MARKLOGIC_LOGS_VOLUME}:/var/opt/MarkLogic/Logs
ports:
- "8000-8002:8000-8002"
- "8010-8015:8010-8015" # Range of ports used by app servers, at least one of which - 8015 - is created by a test.
volumes:
marklogicLogs: