This repository has been archived by the owner on Sep 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (70 loc) · 1.51 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
version: '3.4'
services:
mongo:
restart: 'no'
image: mongo:3.2
ports:
- 27017:27017
volumes:
- ./data/mongo:/data/db
postgres:
restart: 'no'
image: postgres:11.1-alpine
ports:
- 5432:5432
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD:postgres
elasticsearch:
restart: 'no'
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.1
ports:
- 9200:9200
- 9300:9300
volumes:
- ./data/elasticsearch:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
mongo-cli:
restart: 'no'
image: mongo:3.2
depends_on:
- mongo
command: >
sh -c 'mongo --host mongo '
psql-cli:
restart: 'no'
image: postgres:11.1-alpine
depends_on:
- postgres
links:
- postgres:postgres
command: >
sh -c 'psql -h postgres -U postgres -p 5432'
mongo-express:
restart: 'no'
image: mongo-express:0.49.0
ports:
- 8081:8081
depends_on:
- mongo
volumes:
- ./wait-for-it.sh:/wait-for-it.sh
command: ["/wait-for-it.sh", "mongo:27017", "--", "/docker-entrypoint.sh"]
adminer:
restart: 'no'
image: adminer
ports:
- 8080:8080
depends_on:
- postgres
kibana:
restart: 'no'
image: docker.elastic.co/kibana/kibana:6.5.1
ports:
- 5601:5601
depends_on:
- elasticsearch
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200