-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (41 loc) · 949 Bytes
/
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
version: '3.8'
services:
influx-db:
container_name: InfluxDB
image: influxdb:2.1.1
ports:
- "8086:8086"
volumes:
- ./docker-influxdb/data-volume:/var/lib/influxdb2:rw
- ./docker-influxdb/config:/etc/influxdb2:rw
solar-logger:
container_name: SolarLogger
build:
context: ./
dockerfile: solar-logger.dockerfile
target: solar-logger
volumes:
- ./output:/solarlogger/output:rw
- ./config:/solarlogger/config:rw
env_file:
- .env
influx-query:
container_name: InfluxQuery
stdin_open: true
tty: true
build:
context: ./
dockerfile: solar-logger.dockerfile
target: influx-query
volumes:
- ./output:/solarlogger/output:rw
env_file:
- .env
unit-tests:
container_name: UnitTests
build:
context: ./
dockerfile: solar-logger.dockerfile
target: unit-tests
env_file:
- .env