-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
43 lines (30 loc) · 1009 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
version: '3'
services:
epever-mqtt:
image: bushrangers/ha-epever-mqtt
# Uncomment if you want to build your own local version.
# build:
# context: .
# dockerfile: Dockerfile.dev
container_name: epever-mqtt
privileged: true
restart: always
volumes:
# Config.yml MUST be in the same directory as `server.js`
- ./config:/opt/epever/config
#- ./src/:/opt/epever
devices:
# Serial Port Mapping...
# (Assumes using the Exar Corp Modbus USB cable that comes with the MPPT controller)
- /dev/ttyXRUSB0:/dev/ttyXRUSB0
# Used to auto-update images as we release new versions...
watchtower:
# Please see the following for configuration options:
# https://containrrr.github.io/watchtower/container-selection/
image: containrrr/watchtower
container_name: watchtower
restart: always
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 500