-
Notifications
You must be signed in to change notification settings - Fork 37
/
docker-compose.yml
94 lines (80 loc) · 2.38 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
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
# Servers Overview relies upon.
#
# Usage: `docker-compose start` to create a dev/test environment.
version: "3"
volumes:
database-data:
search-data:
blob-storage-data:
homedir:
services:
redis:
build: ./docker/overview-redis
database:
build: ./docker/overview-database
volumes:
- database-data:/var/lib/postgresql/data
dev:
build: ./docker/overview-dev
stdin_open: true
depends_on: [ redis, database ]
networks:
default:
aliases:
- overview-web # so integration tests can see it
- overview-worker # so converters can see it
volumes:
- search-data:/var/lib/overview/search
- blob-storage-data:/var/lib/overview/blob-storage
- homedir:/root # sbt's and npm's caches
#- .:/app:ro
- .:/app # we can't go "ro" because Webpack writes to the source directory for now
ports:
- '127.0.0.1:3333:3333' # port 3333 is useful when running integration-test/mock-plugins/standalone
- '127.0.0.1:9032:9032' # port 9032 is useful when developing converters
- '127.0.0.1:9000:80'
convert-archive:
image: "${CONVERT_ARCHIVE_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Archive'
convert-email:
image: "${CONVERT_EMAIL_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Email'
convert-html:
image: "${CONVERT_HTML_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Html'
convert-image:
image: "${CONVERT_IMAGE_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Image'
convert-office:
image: "${CONVERT_OFFICE_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Office'
convert-pdf:
image: "${CONVERT_PDF_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Pdf'
convert-pdfocr:
image: "${CONVERT_PDFOCR_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/PdfOcr'
convert-pst:
image: "${CONVERT_PST_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Pst'
convert-text:
image: "${CONVERT_TEXT_IMAGE}"
depends_on: [ 'dev' ]
environment:
POLL_URL: 'http://overview-worker:9032/Text'