forked from crocandr/docker-unimus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
34 lines (33 loc) · 989 Bytes
/
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
version: "3"
services:
db:
image: mariadb:10
command: --max_allowed_packet=268M
environment:
- MYSQL_ROOT_PASSWORD=supersecret
- MYSQL_DATABASE=unimus
- MYSQL_USER=unimus
- MYSQL_PASSWORD=secret
#- TZ=Europe/Budapest
volumes:
- './db:/var/lib/mysql'
- '/etc/localtime:/etc/localtime:ro'
restart: unless-stopped
unimus:
image: croc/unimus
environment:
# base memory params for java
#- XMX=1024M
#- XMS=256M
# OR more customizable JAVA options
- JAVA_OPTS=-Xms256M -Xmx1024M -Dunimus.core.connect-timeout=20000 -Dunimus.core.inter-connection-delay=1000 -Dunimus.core.cli-expect-timeout=30000
- TZ=Europe/Budapest
volumes:
- './config:/etc/unimus'
#- '/etc/localtime:/etc/localtime:ro'
depends_on:
- db
ports:
- '8085:8085'
# - '5509:5509' # for unimus-core connection if the unimus version is higher than 2.0.0
restart: unless-stopped