-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
45 lines (42 loc) · 909 Bytes
/
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
version: '2'
services:
elasticsearch:
image: elasticsearch:5.6.4
volumes:
- 'esdata:/usr/share/elasticsearch/data'
ports:
- 9200
environment:
VIRTUAL_HOST: es.kbhbilleder.docker
VIRTUAL_PORT: 9200
mongo:
image: mongo:3.5.6
volumes:
- mongodata:/data/db
ports:
- 27017
node:
image: eu.gcr.io/kbh-billeder/kbhbilleder-docker:latest
# Use the following to build your own image.
#build:
# dockerfile: ./docker/dev-env/Dockerfile-dev-env
# context: .
environment:
VIRTUAL_HOST: kbhbilleder.docker
VIRTUAL_PORT: 9000
ports:
- 9000
- 9229:9229
volumes:
- ./projects/:/home/node:cached
- /home/node/kbh-billeder/node_modules
depends_on:
- elasticsearch
- mongo
links:
- mongo
- elasticsearch
volumes:
esdata:
driver: local
mongodata: