-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose.yml
45 lines (42 loc) · 1.1 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
version: "3.7"
services:
goobi:
image: intranda/goobi-workflow:default-plugins
# build:
# context: .
# dockerfile: Goobi/Dockerfile
ports:
- "8080:8080"
volumes:
- type: volume
source: goobi_metadata
target: /opt/digiverso/goobi/metadata
- type: volume
source: goobi_exportfolder
target: /opt/digiverso/viewer/hotfolder
# - type: bind
# source: /local/path/to/my/goobi/plugins
# target: /opt/digiverso/goobi/plugins
# - type: bind
# source: /local/path/to/my/goobi/config
# target: /opt/digiverso/goobi/config
depends_on:
- goobi-db
goobi-db:
image: mariadb:10.1
environment:
MYSQL_ROOT_PASSWORD: goobi
MYSQL_DATABASE: goobi
MYSQL_USER: goobi
MYSQL_PASSWORD: goobi
volumes:
- type: bind
source: ./install/db/goobi_blank.sql
target: /docker-entrypoint-initdb.d/goobi_blank.sql
- type: volume
source: goobi_dbdata
target: /var/lib/mysqldata
volumes:
goobi_metadata:
goobi_dbdata:
goobi_exportfolder: