Uncomment
[gitter.git] / docker-compose.yml
blob2140af807ab4382ff7a85984260da847b3cf30f4
1 version: '3'
3 # Redis
5 services:
6   redis1:
7     image: redis:3.0.3
8     restart: always
9     ports:
10       - '6379:6379'
11     entrypoint:
12       [
13         '/usr/local/bin/redis-server',
14         '--bind',
15         '0.0.0.0',
16         '--port',
17         '6379',
18         '--maxclients',
19         '200',
20         '--dir',
21         '/tmp',
22         '--save',
23         '',
24       ]
26   mongo1:
27     image: registry.gitlab.com/gitterhq/webapp/mongo:latest
28     restart: always
29     volumes:
30       - gitter-mongodb:/data/db2
31     ports:
32       - '27017:27017'
33   mongo-express:
34     image: mongo-express
35     links:
36       - mongo1:mongo
37     ports:
38       - '8081:8081'
40   neo4j:
41     image: neo4j:2.3
42     restart: always
43     ports:
44       - '7474:7474'
45     environment:
46       NEO4J_AUTH: none
48   # The official elasticsearch:1.4.2 image with mapper-attachments and river-mongodb plugins
49   # https://github.com/soldotno/elasticsearch-river-mongodb/blob/master/Dockerfile
50   elasticsearch:
51     image: registry.gitlab.com/gitterhq/webapp/elasticsearch:latest
52     ports:
53       - '9200:9200'
54       - '9300:9300'
55     links:
56       - mongo1
58   synapse:
59     container_name: 'synapse'
60     image: registry.gitlab.com/gitterhq/webapp/synapse:latest
61     restart: always
62     ports:
63       - '18008:8008'
64       - '18448:8448'
65     volumes:
66       - './scripts/docker/matrix/synapse/data/:/data/'
68   riot:
69     container_name: 'riot'
70     image: 'vectorim/riot-web:v1.7.8'
71     restart: 'unless-stopped'
72     ports:
73       - '18010:80'
74     volumes:
75       - './scripts/docker/matrix/element/element-config.json:/app/config.json'
77 volumes:
78   gitter-mongodb: