-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (67 loc) · 1.72 KB
/
Copy pathdocker-compose.yml
File metadata and controls
72 lines (67 loc) · 1.72 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: '3.7'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERS}
container_name: elasticsearch
environment:
- node.name=SolarHome
- discovery.type=single-node
- bootstrap.memory_lock=true # dev
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" # dev
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- datasolar01:/usr/share/elasticsearch/data
cap_add:
- IPC_LOCK
ports:
- ${PORT_ELASTIC_1}:${PORT_ELASTIC_1}
restart: always
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:${KIBANA_VERS}
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:${PORT_ELASTIC_1}
ports:
- ${PORT_KIBANA}:${PORT_KIBANA}
links:
- elasticsearch
restart: always
grafana:
container_name: grafana
image: grafana-arm:${GRAFANA_VERS}
build:
context: .
dockerfile: ./docker/Dockerfile.grafana
ports:
- ${PORT_GRAFANA}:${PORT_GRAFANA}
environment:
- PORT_ELASTIC_1=${PORT_ELASTIC_1}
restart: always
pyserver:
container_name: pyserver
image: pyserver:${PYSERVER_VERS}
build:
context: .
dockerfile: ./docker/Dockerfile.pyserver
environment:
- PORT_ELASTIC_1=${PORT_ELASTIC_1}
ports:
- ${PORT_DEV_REMOTE_DEBUG}:${PORT_DEV_REMOTE_DEBUG}
entrypoint: [ "python3", "-m", "debugpy", "--listen",
"0.0.0.0:${PORT_DEV_REMOTE_DEBUG}", "./main.py"]
stdin_open: true
tty: true
restart: always
volumes:
datasolar01:
driver: local
driver_opts:
o: bind
type: volume
device: /mnt/usb1/storagehome/