-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 1.01 KB
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (41 loc) · 1.01 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
services:
mysql:
image: "mysql/mysql-server:${MYSQL_VERSION}"
command: --default-authentication-plugin=mysql_native_password
networks:
- jamfnet
ports:
- "3306:3306"
environment:
- MYSQL_DATABASE
- MYSQL_PASSWORD
- MYSQL_ROOT_PASSWORD
- MYSQL_USER
restart: unless-stopped
volumes:
- ./data/${JAMF_PRO_VERSION}/mysql-data-${MYSQL_VERSION}:/var/lib/mysql
jamfpro:
image: "jamf/jamfpro:${JAMF_IMAGE_VERSION}"
networks:
- jamfnet
ports:
- "${JAMF_PRO_PORT}:8080"
environment:
DATABASE_USERNAME: "${MYSQL_USER}"
DATABASE_PASSWORD: "${MYSQL_PASSWORD}"
DATABASE_HOST: "mysql"
depends_on:
- mysql
restart: unless-stopped
volumes:
- ./data/${JAMF_PRO_VERSION}/ROOT.war:/data/ROOT.war
- ./wait-for-it.sh:/usr/local/bin/wait-for-it.sh
command:
- /usr/local/bin/wait-for-it.sh
- --timeout=0
- mysql:3306
- --
- /startup.sh
networks:
jamfnet:
driver: bridge