-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (37 loc) · 1.03 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
version: '2'
services:
web:
image: slidewiki/searchservice:latest-dev
restart: on-failure:5
expose:
- 80
external_links:
- mongodb
- solr
environment:
- APPLICATION_PORT=80
- VIRTUAL_HOST=searchservice.experimental.slidewiki.org
- LETSENCRYPT_HOST=searchservice.experimental.slidewiki.org
- DATABASE_URL=mongodb
- DATABASE_PORT=27017
- SOLR_CORE=swikcore
- AGENDA_JOBS_COLLECTION=agendaJobs
- AGENDA_JOBS_CONCURRENCY=2
network_mode: bridge
indexer:
image: slidewiki/searchservice:latest-dev
command: 'node worker'
restart: on-failure:5
external_links:
- mongodb
- solr
environment:
- DATABASE_URL=mongodb
- DATABASE_PORT=27017
- SERVICE_URL_DECK=http://deckservice.experimental.slidewiki.org
- SOLR_CORE=swikcore
- AGENDA_JOBS_COLLECTION=agendaJobs
- AGENDA_JOBS_CONCURRENCY=2
- JOB_TYPES=searchUpdate
network_mode: bridge