diff --git a/compose.yml b/compose.yml index 84cc8b2..3a0292d 100644 --- a/compose.yml +++ b/compose.yml @@ -27,6 +27,7 @@ services: target: /usr/bin/backup mode: 0555 entrypoint: ['/entrypoint.sh'] + #entrypoint: ['tail', '-f','/dev/null'] healthcheck: test: "pgrep crond" interval: 30s diff --git a/entrypoint.sh b/entrypoint.sh index 932f2b0..2f9c708 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,10 +2,10 @@ set -e -o pipefail -apk add --upgrade --no-cache restic bash python3 py3-pip +apk add --upgrade --no-cache restic bash python3 py3-pip py3-click py3-docker-py py3-json-logger # Todo use requirements file with specific versions -pip install click==8.1.7 docker==6.1.3 resticpy==1.0.2 python-json-logger==2.0.7 +pip install --break-system-packages resticpy==1.0.2 if [ -n "$SSH_HOST_KEY" ] then