forked from seek4science/seek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-virtuoso.yml
91 lines (85 loc) · 1.86 KB
/
docker-compose-virtuoso.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
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
version: '3'
services:
db: # Database implementation, in this case MySQL
image: mysql:5.7
container_name: seek-mysql
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
restart: always
env_file:
- docker/db.env
volumes:
- seek-mysql-db:/var/lib/mysql
seek: # The SEEK application
#build: .
image: fairdom/seek:1.9
container_name: seek
command: docker/entrypoint.sh
restart: always
environment:
RAILS_ENV: production
SOLR_PORT: 8983
NO_ENTRYPOINT_WORKERS: 1
env_file:
- docker/db.env
volumes:
- seek-filestore:/seek/filestore
- seek-cache:/seek/tmp/cache
ports:
- "3000:3000"
depends_on:
- db
- solr
- virtuoso
links:
- db
- solr
- virtuoso
seek_workers: # The SEEK delayed job workers
#build: .
image: fairdom/seek:1.9
container_name: seek-workers
command: docker/start_workers.sh
restart: always
environment:
RAILS_ENV: production
SOLR_PORT: 8983
DBA_PASSWORD: wibble
VIRTUOSO: 'true'
env_file:
- docker/db.env
volumes:
- seek-filestore:/seek/filestore
- seek-cache:/seek/tmp/cache
depends_on:
- db
- solr
- virtuoso
links:
- db
- solr
- virtuoso
solr:
image: fairdom/seek-solr
container_name: seek-solr
restart: always
environment:
SOLR_JAVA_MEM: -Xms512m -Xmx1024m
volumes:
- seek-solr-data:/opt/solr/server/solr/seek/data
virtuoso:
image: tenforce/virtuoso
container_name: seek-virtuoso
restart: always
ports:
- "8890:8890"
- "1111:1111"
environment:
DBA_PASSWORD: wibble
volumes:
- seek-virtuoso-data:/data
volumes:
seek-filestore:
seek-mysql-db:
seek-solr-data:
seek-cache:
seek-virtuoso-data: