This commit is contained in:
Wolfgang Hottgenroth
2022-09-14 12:07:14 +02:00
parent 11cdca647f
commit 1360195f67
5 changed files with 23 additions and 2 deletions

View File

@ -21,9 +21,11 @@ RUN \
COPY opt/ /opt
COPY etc/ /opt/etc
COPY supervisor-mosquitto.conf /etc/supervisor/conf.d/
COPY crontab /etc/crontab
VOLUME /opt/etc
VOLUME /opt/data
VOLUME /var/log/supervisor
EXPOSE 80/TCP
EXPOSE 443/TCP
@ -33,5 +35,5 @@ EXPOSE 9001/tcp
WORKDIR /opt
CMD ["env", "LD_LIBRARY_PATH=/opt/lib", "/opt/sbin/mosquitto", "-c", "/opt/etc/mosquitto/mosquitto.conf"]
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf" ]