Compare commits
No commits in common. "ad60fc3490262530b73cb9544c6e631f91a15c1b" and "17415f5efb57909e9af7e9c2f7813b7c532b2470" have entirely different histories.
ad60fc3490
...
17415f5efb
@ -30,7 +30,6 @@ RUN cd /usr/src/sispmctl;make; ls -al
|
||||
|
||||
RUN git clone https://github.com/fhem/fhem-mirror.git /fhem-src;cd /fhem-src;git checkout main
|
||||
RUN git clone https://gitea.federationhq.de/byterazor/FHEM-NEWSISPM.git /NEWSISPM
|
||||
RUN git clone https://gitea.federationhq.de/byterazor/FHEM-NTFY.git /FHEM-NTFY
|
||||
|
||||
#
|
||||
# the main fhem image
|
||||
@ -266,8 +265,6 @@ COPY --from=builder /usr/src/sispmctl/src/.libs/*.so* /usr/lib/
|
||||
COPY --from=builder /usr/src/sispmctl/src/.libs/sispmctl /usr/bin/
|
||||
COPY --from=builder /fhem-src/fhem /opt/fhem
|
||||
COPY --from=builder /NEWSISPM/FHEM/* /opt/fhem/FHEM/
|
||||
COPY --from=builder /FHEM-NTFY/FHEM/* /opt/fhem/FHEM/
|
||||
|
||||
# update libraries
|
||||
RUN ldconfig
|
||||
|
||||
|
@ -28,33 +28,10 @@ else
|
||||
user => "",
|
||||
password => ""
|
||||
);
|
||||
EOF
|
||||
`" >> /opt/fhem/configDB.conf;
|
||||
elif [ "${CONFIG_DATABASE_ENGINE}" == "mysql" ] then
|
||||
|
||||
if [ -z ${CONFIG_DATABASE_USER} ]; then
|
||||
echo "please provide CONFIG_DATABASE_USER "
|
||||
exit 255
|
||||
fi
|
||||
|
||||
if [ -z ${CONFIG_DATABASE_USER} ]; then
|
||||
echo "please provide CONFIG_DATABASE_ "
|
||||
exit 255
|
||||
fi
|
||||
|
||||
echo "`cat <<EOF
|
||||
%dbconfig= (
|
||||
connection => "mysql:dbname=${CONFIG_DATABASE}",
|
||||
user => "${CONFIG_DATABASE_USER}",
|
||||
password => "${CONFIG_DATABASE_PASS}"
|
||||
);
|
||||
EOF
|
||||
else
|
||||
echo "unknown database engine provided in CONFIG_DATABASE_ENGINE"
|
||||
exit 255
|
||||
`" >> /opt/fhem/configDB.conf;
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
if [ -n "${USELOGDB}" ]; then
|
||||
@ -82,28 +59,6 @@ if [ -n "${USELOGDB}" ]; then
|
||||
);
|
||||
EOF
|
||||
`" >> /opt/fhem/db.conf;
|
||||
elif [ "${LOG_DATABASE_ENGINE}" == "mysql" ] then
|
||||
|
||||
if [ -z ${LOG_DATABASE_USER} ]; then
|
||||
echo "please provide LOG_DATABASE_USER "
|
||||
exit 255
|
||||
fi
|
||||
|
||||
if [ -z ${LOG_DATABASE_USER} ]; then
|
||||
echo "please provide LOG_DATABASE_ "
|
||||
exit 255
|
||||
fi
|
||||
|
||||
echo "`cat <<EOF
|
||||
%dbconfig= (
|
||||
connection => "mysql:dbname=${LOG_DATABASE}",
|
||||
user => "${LOG_DATABASE_USER}",
|
||||
password => "${LOG_DATABASE_PASS}"
|
||||
);
|
||||
EOF
|
||||
else
|
||||
echo "unknown database engine provided in LOG_DATABASE_ENGINE"
|
||||
exit 255
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user