-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (30 loc) · 911 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (30 loc) · 911 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
29
30
31
32
33
version: '2'
services:
onkostar:
build: .
ports:
- 8080:8080
depends_on:
- mariadb
volumes:
# Config and license file
- "./configs/onkostar.ini:/opt/onkostar/etc/onkostar.ini:ro"
- "./Onkostar-Lizenz.xml.sign:/opt/onkostar/files/onkostar/lizenz/Onkostar-Lizenz.xml.sign:ro"
# Plugins
- "./plugins.d:/opt/onkostar/files/onkostar/plugins:ro"
# Onkostar WAR-file
- "./onkostar.war:/usr/local/tomcat/webapps/onkostar.war:ro"
mariadb:
image: mariadb:10
ports:
- 3306:3306
volumes:
# Config file
- "./configs/server.cnf:/etc/mysql/mariadb.conf.d/50-server.cnf"
# Database dumps for initial database seed
- "./initdb.d:/docker-entrypoint-initdb.d:ro"
environment:
MARIADB_DATABASE: onkostar
MARIADB_USER: onkostar
MARIADB_PASSWORD: devpass
MARIADB_ROOT_PASSWORD: devpass