mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
switch to hybrid
This commit is contained in:
@@ -28,7 +28,7 @@ services:
|
|||||||
- SUPERUSER_EMAIL=SUPERUSER_EMAIL
|
- SUPERUSER_EMAIL=SUPERUSER_EMAIL
|
||||||
- SUPERUSER_PASSWORD=SUPERUSER_PASSWORD
|
- SUPERUSER_PASSWORD=SUPERUSER_PASSWORD
|
||||||
volumes:
|
volumes:
|
||||||
- path to data on host:/config
|
- /path/to/data/on/host:/config
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if [ ! -f /usr/bin/apprise ]; then
|
||||||
|
echo "**** apprise not installed, adding to packages to be installed ****"
|
||||||
|
echo "apprise" >> /mod-pip-packages-to-install.list
|
||||||
|
if ! pip3 -v COMMAND &> /dev/null; then
|
||||||
|
echo "*** Pip not installed, adding to packages to be installed ****"
|
||||||
|
echo "python3 python3-pip" >> /mod-repo-packages-to-install.list
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "**** apprise already installed, skipping ****"
|
||||||
|
fi
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/etc/s6-overlay/s6-rc.d/init-mod-healthchecks-apprise-add-package/run
|
||||||
Reference in New Issue
Block a user