-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
60 lines (55 loc) · 1.35 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
version: '3'
services:
harness:
restart: always
image: actionml/harness:develop
container_name: harness
ports:
- "9090:9090"
environment:
MONGO_URI: mongodb://mongo:27017
HARNESS_URI: http://0.0.0.0:9090
ELASTICSEARCH_URI: http://elasticsearch:9200
depends_on:
- mongo
- elasticsearch
volumes:
- ${HARNESS_LOGS}:/harness/logs
- ${HARNESS_DATA}:/data
mongo:
restart: always
image: mongo:4.2
container_name: mongo
command: --logappend --logpath=/tmp/mongod.log
ports:
- "27017:27017"
volumes:
- ${MONGO_LOGS}:/logs
- ${MONGO_DATA}:/data/db
elasticsearch:
restart: always
image: elasticsearch:7.6.0
container_name: elasticsearch
environment:
ES_JAVA_OPTS: ${ES_JAVA_OPTS}
discovery.seed_hosts: elasticsearch
discovery.type: single-node
ports:
- "9200:9200"
volumes:
- ${ES_DATA}:/usr/share/elasticsearch/data
harness-cli:
restart: always
image: actionml/harness-cli:develop
container_name: harness-cli
environment:
HARNESS_SERVER_ADDRESS: harness
volumes:
- ${HARNESS_DATA}:/data
watchtower:
restart: always
image: v2tec/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 3000