forked from andinox/Projet-Python-TSP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 932 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 932 Bytes
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
services:
web:
build: .
ports:
- "8080:8080"
volumes:
- ./DiagnosticTool:/app/DiagnosticTool
- static_volume:/app/DiagnosticTool/staticfiles
environment:
- DJANGO_ENV=development
- EMAIL_HOST_USER=${EMAIL_HOST_USER}
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD}
- ENABLE=${ENABLE}
- ROUTER_USERNAME=${ROUTER_USERNAME}
- ROUTER_PWD=${ROUTER_PWD}
- ROUTER_PORT=${ROUTER_PORT}
- ROUTER_IP=${ROUTER_IP}
telegraf:
image: telegraf:1.30
volumes:
- ./DiagnosticTool/core/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
- ./DiagnosticTool/core/telegraf/telegraf.d:/etc/telegraf/telegraf.d:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- HOST_PROC=/host/proc
- HOST_SYS=/host/sys
- HOST_ETC=/host/etc
network_mode: "service:web"
depends_on:
- web
volumes:
static_volume: