-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 724 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 724 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
25
26
27
28
version: "3"
services:
db:
image: mysql:5.7.44
platform: linux/amd64
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: openboxes
MYSQL_USER: openboxes
MYSQL_PASSWORD: openboxes
volumes:
- ./openboxes-mysql.cnf:/etc/mysql/conf.d/openboxes-mysql.cnf
ports:
- "3306:3306"
grails:
build: ./grails-java7
command: sh /root/openboxes-run.sh
platform: linux/amd64
ports:
- "8080:8080"
volumes:
- ./openboxes-config.properties:/root/.grails/openboxes-config.properties
- ./openboxes-setenv.sh:/usr/share/tomcat7/bin/setenv.sh
- ./openboxes-run.sh:/root/openboxes-run.sh
- ../openboxes:/app
depends_on:
- db