-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
94 lines (94 loc) · 2.3 KB
/
docker-compose.yaml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: "2"
services:
solr:
image: acdhch/aksearch-solr
volumes:
- ak-solrlogs:/opt/solr/server/logs
- ak-solrdata:/opt/solr/server/solr
- ak-harvestArchiveOeai:/opt/harvest/archive_oeai
- ak-localConfigSolr:/opt/local
networks:
- backend
mysql:
image: mariadb:10
environment:
- MYSQL_ROOT_PASSWORD=123qwe
volumes:
- ak-mysql:/var/lib/mysql
networks:
- backend
web:
image: acdhch/aksearch-web
environment:
- DB_PSWD=zxcasd
- DB_HOST=mysql
- DB_ROOT_PSWD=123qwe
- SOLR_URL=http://solr:8983/solr
- ALMA_KEY=l8xxfdbfe981e3b648a68afec0639337b351
- VUFIND_LOCAL_MODULES=AkSearch,AkSearchApi,AkSearchConsole,AkSearchSearch,aksearchExt
- APPLICATION_ENV=testing
ports:
- "80:80"
volumes:
- ak-harvestArchiveOeai:/var/www/local/harvest/archive_oeai
- ak-localConfigWeb:/var/www/local/config
- ak-localAkSearchExt:/usr/local/vufind/vendor/acdh-oeaw/aksearch-ext
- ak-harvestConfig:/var/www/local/harvest
networks:
- backend
- bridge
depends_on:
- mysql
networks:
backend:
driver: bridge
bridge:
volumes:
ak-localConfigWeb:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/AkSearchWeb/local/config
o: bind
ak-localConfigSolr:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/AkSearchSolr/local
o: bind
ak-solrlogs:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/data/aksearch/solrlogs
o: bind
ak-solrdata:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/data/aksearch/solrdata
o: bind
ak-mysql:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/data/aksearch/mysql
o: bind
ak-harvestArchiveOeai:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/data/aksearch/harvest/archive_oeai
o: bind
ak-harvestConfig:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/AkSearchWeb/local/harvest
o: bind
ak-localAkSearchExt:
driver: local
driver_opts:
type: none
device: /home/choffmann/devel/AkSearchExtend
o: bind