forked from seek4science/seek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-openseek.yml
85 lines (80 loc) · 1.78 KB
/
docker-compose-openseek.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
version: '2'
services:
db: # Database implementation, in this case MySQL
image: mysql:5.7
container_name: seek-mysql
restart: always
env_file:
- docker/db.env
volumes:
- seek-mysql-db:/var/lib/mysql
seek: # The SEEK application
#build: .
image: fairdom/seek:master
container_name: seek
command: docker/entrypoint.sh
restart: always
environment:
RAILS_ENV: production
SOLR_PORT: 8983
NO_ENTRYPOINT_WORKERS: 1
OPENBIS_USERNAME: 'admin'
OPENBIS_PASSWORD: 'changeit'
env_file:
- docker/db.env
volumes:
- seek-filestore:/seek/filestore
- seek-cache:/seek/tmp/cache
ports:
- "3000:3000"
depends_on:
- db
- solr
links:
- db
- solr
seek_workers: # The SEEK delayed job workers
#build: .
image: fairdom/seek:master
container_name: seek-workers
command: docker/start_workers.sh
restart: always
environment:
RAILS_ENV: production
SOLR_PORT: 8983
env_file:
- docker/db.env
volumes:
- seek-filestore:/seek/filestore
- seek-cache:/seek/tmp/cache
depends_on:
- db
- solr
links:
- db
- solr
openbis:
image: openbis/debian-openbis:16.05.2
container_name: openbis
restart: always
volumes:
- openbis-state:/home/openbis/openbis_state
ports:
- "4000:443"
solr:
image: fairdom/seek-solr
container_name: seek-solr
volumes:
- seek-solr-data:/opt/solr/server/solr/seek/data
restart: always
volumes:
seek-filestore:
external: true
seek-mysql-db:
external: true
seek-solr-data:
external: true
openbis-state:
external: true
seek-cache:
external: true