forked from deploymenttheory/go-api-sdk-jamfpro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (48 loc) · 1.7 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
## Used mainly for jamf pro local api testing.
## Requires a jamf pro root.war from jamf nation of your test target jamf pro version
## https://hub.docker.com/r/jamf/jamfpro/tags/
version: "0.3"
services:
jamfpro:
container_name: go-api-sdk-jamfpro
image: "jamf/jamfpro:latest"
ports:
- 8080:8080
environment:
# Database Configuration
- DATABASE_USERNAME=root
- DATABASE_PASSWORD=jamfsw03
- DATABASE_HOST=host.docker.internal
- DATABASE_NAME=jamfsoftware
- DATABASE_PORT=3306
- JDBC_PARAMETERS=
# Logging Configuration
- STDOUT_LOGGING=true
- JAVA_OPTS=-Djava.awt.headless=true
- CATALINA_OPTS=
# JMX Configuration
- JMXREMOTE=false
#- JMXREMOTE_PORT=
#- JMXREMOTE_RMI_PORT=
#- JMXREMOTE_SSL=
#- JMXREMOTE_AUTHENTICATE=
#- RMI_SERVER_HOSTNAME=
#- JMXREMOTE_PASSWORD_FILE=
# Kubernetes Clustering Configuration
#- PRIMARY_NODE_NAME=
#- POD_NAME=
#- POD_IP=
# Memcached Configuration
- MEMCACHED_HOST=512
volumes:
# Mount Jamf Pro ROOT.war obtained from jamf nation.
- ./LocalTesting/ROOT.war:/data/ROOT.war
- ./LocalTesting/jamfpro/webapps:/usr/local/tomcat/webapps
# Mount DataBase.xml if needed
- ./LocalTesting/jamfpro/DataBase.xml:/config/DataBase.xml
headless:
container_name: headless-shell
image: chromedp/headless-shell:latest
shm_size: 2gb
ports:
- 9222:9222