-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (47 loc) · 1.14 KB
/
docker-compose.yml
File metadata and controls
53 lines (47 loc) · 1.14 KB
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
version: '2'
services:
workers:
build:
context: .
dockerfile: ./etc/dev/node/Dockerfile
volumes:
- $PWD:/app
command: "yarn start-workers"
environment:
- "MESSAGE_BROKER=amqp://guest:guest@rmq:5672"
- "ELASTIC_HOST=elasticsearch:9200"
- "ELASTIC_LOGS=error"
api:
extends:
service: workers
file: docker-compose.yml
command: "yarn start"
ports:
- "3000:3000"
rmq:
image: rabbitmq:3-management
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "guest"
RABBITMQ_DEFAULT_PASS: "guest"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
kibana:
image: docker.elastic.co/kibana/kibana:6.2.3
ports:
- "5601:5601"
volumes:
- "./etc/dev/kibana/kibana.yml:/usr/share/kibana/config/kibana.yml"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.3
ports:
- "9200:9200"
environment:
- "discovery.type=single-node"
- "MAX_LOCAL_STORAGE_NODES=1"
redis:
image: "redis:alpine"
ports:
- "6379:6379"