-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (57 loc) · 1.82 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
---
version: '3'
services:
# The environment variable "TAG" is used throughout this file to
# specify the version of the images to run. The default is set in the
# '.env' file in this folder. It can be overridden with any normal
# technique for setting environment variables, for example:
#
# TAG=6.0.0-beta1 docker-compose up
#
# REF: https://docs.docker.com/compose/compose-file/#variable-substitution
#
# Also be sure to set the ELASTIC_VERSION variable. For released versions,
# ${TAG} and ${ELASTIC_VERSION} will be identical, but for pre-release
# versions, ${TAG} might contain an extra build identifier, like
# "6.0.0-beta1-3eab5b40", so a full invocation might look like:
#
# ELASTIC_VERSION=6.0.0-beta1 TAG=6.0.0-beta1-3eab5b40 docker-compose up
#
##########################DMP######################################################################
da-service:
build:
context: ./data-analytics-visualization-service
container_name: da-service
ports: ['0.0.0.0:8080:8080']
networks: ['data-analytics']
mongodb:
image: mongo:latest
container_name: "mongodb"
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
volumes:
- mongo-data:/data/db
ports:
- 27017:27017
command: mongod --logpath=/dev/null # --quiet
networks: ['data-analytics']
redis:
image: redis:5.0-rc3-alpine
container_name: "redis"
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- redis-data:/data
ports:
- 6379:6379
command: ["redis-server", "--appendonly", "yes"]
networks: ['data-analytics']
##########################SETTINGS######################################################################
volumes:
mongo-data:
driver: local
redis-data:
driver: local
networks:
data-analytics: {}