forked from overview/overview-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (49 loc) · 1.25 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
# Servers Overview relies upon.
#
# Usage: `docker-compose start` to create a dev/test environment.
#
# Services:
# * :9010 -> Postgres
# * :9020 -> Redis
# * :9200 -> ElasticSearch (dev environment)
# * :9201 -> ElasticSearch (test environment)
# Volumes...
overview-dev-database-data:
container_name: overview-dev-database-data
image: busybox
volumes:
- /var/lib/postgresql/data
command: /bin/true
overview-dev-searchindex-data:
container_name: overview-dev-searchindex-data
image: busybox
volumes:
- /usr/share/elasticsearch/data
command: /bin/true
# Servers...
overview-dev-redis:
container_name: overview-dev-redis
image: redis:2.8
ports:
- "9020:6379"
overview-dev-database:
container_name: overview-dev-database
image: overview/database
volumes_from:
- overview-dev-database-data
ports:
- "9010:5432"
overview-dev-searchindex:
container_name: overview-dev-searchindex
image: overview/searchindex
volumes_from:
- overview-dev-searchindex-data
ports:
- "9200:9200"
# We run an entirely separate cluster for test SearchIndex; we'll delete all
# indices in every test.
overview-test-searchindex:
container_name: overview-test-searchindex
image: overview/searchindex
ports:
- "9201:9200"