-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (36 loc) · 913 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (36 loc) · 913 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
35
36
37
38
39
40
41
42
43
44
45
version: '3.4'
x-logging:
&default-logging
options:
max-size: '12m'
max-file: '5'
driver: json-file
services:
influxdb:
image: 'influxdb:1.8.10'
volumes:
- './influxdb:/var/lib/influxdb'
ports:
- '8086:8086'
environment:
- INFLUXDB_DATA_QUERY_LOG_ENABLED=false
- INFLUXDB_HTTP_LOG_ENABLED=false
- INFLUXDB_REPORTING_DISABLED=true
logging: *default-logging
restart: unless-stopped
measure_app:
#image: 'measure_app_slim'
image: 'measure_app_html'
#ports:
volumes:
- './measure.py:/app/measure.py'
- './database.py:/app/database.py'
- './ENS210.py:/app/ENS210.py'
- './weather_station.py:/app/weather_station.py'
- './measure.log:/app/measure.log'
devices:
- "/dev/i2c-1:/dev/i2c-1"
depends_on:
- influxdb
logging: *default-logging
restart: unless-stopped