mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
updates and reset-perm scripts
This commit is contained in:
1 parent
be6b08ceab
commit
3f4030fd96
22 files changed
+19
-1091
No files matched your search
-23
@@ -1,23 +0,0 @@
|
||||
FROM containrrr/watchtower:latest
|
||||
|
||||
USER root
|
||||
|
||||
RUN apk add --no-cache python3 py3-pip
|
||||
|
||||
WORKDIR /opt/uptime-bot
|
||||
|
||||
COPY requirements.txt /opt/uptime-bot/requirements.txt
|
||||
RUN pip3 install --no-cache-dir -r /opt/uptime-bot/requirements.txt
|
||||
|
||||
COPY uptime-bot.py /opt/uptime-bot/uptime-bot.py
|
||||
COPY config.yml /opt/uptime-bot/config.yml
|
||||
COPY container-monitor-map.yaml /opt/uptime-bot/container-monitor-map.yaml
|
||||
COPY watchtower-embedded/start-watchtower-with-uptime-bot.sh /usr/local/bin/start-watchtower-with-uptime-bot.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/start-watchtower-with-uptime-bot.sh
|
||||
|
||||
ENV UPTIME_BOT_CONFIG=/opt/uptime-bot/config.yml
|
||||
ENV UPTIME_BOT_MAP=/opt/uptime-bot/container-monitor-map.yaml
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/start-watchtower-with-uptime-bot.sh"]
|
||||
CMD ["--interval", "300", "--cleanup"]
|
||||
Reference in new issue
Block a user