mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
put notify-push into its own container
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
56e3f27d6c
commit
9b1421980f
6 changed files with 98 additions and 22 deletions
20
Containers/notify-push/Dockerfile
Normal file
20
Containers/notify-push/Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
FROM alpine:3.18.1
|
||||
|
||||
COPY --chmod=775 start.sh /start.sh
|
||||
|
||||
RUN set -ex; \
|
||||
apk add --no-cache \
|
||||
ca-certificates \
|
||||
tzdata \
|
||||
bash \
|
||||
openssl; \
|
||||
# Give root a random password
|
||||
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
||||
apk del --no-cache \
|
||||
openssl;
|
||||
|
||||
USER 33
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 7867 || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||
Loading…
Add table
Add a link
Reference in a new issue