fix
This commit is contained in:
parent
0eace0be7c
commit
4ea8a3688b
@ -22,7 +22,6 @@ RUN \
|
||||
|
||||
RUN \
|
||||
mkdir -p ${APP_DIR} && \
|
||||
mkdir -p ${CONF_DIR} && \
|
||||
useradd -d ${APP_DIR} -u 1000 user
|
||||
|
||||
COPY ./src/pv_controller/*.py ${APP_DIR}/
|
||||
|
14
config.ini
14
config.ini
@ -1,14 +0,0 @@
|
||||
[mqtt]
|
||||
broker = 172.16.2.16
|
||||
port = 1883
|
||||
# login =
|
||||
# password =
|
||||
# ca =
|
||||
# cert =
|
||||
# key =
|
||||
relaisSubscribeTopic = IoT/PV/Cmd
|
||||
meterPublishTopic = IoT/PV/Values
|
||||
meterPublishPeriod = 15
|
||||
|
||||
[modbus]
|
||||
gateway = 172.16.2.42
|
@ -35,7 +35,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: pv-controller
|
||||
image: wollud1969/pv-controller:1.0.6
|
||||
image: wollud1969/pv-controller:1.0.7
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: pv-controller
|
||||
|
Loading…
x
Reference in New Issue
Block a user