Fix backup container

This commit is contained in:
Moritz 2024-08-20 13:34:06 +02:00
parent e69c5155b4
commit 63c6b6de53
3 changed files with 5 additions and 8 deletions

View File

@ -1 +1 @@
export ENTRYPOINT_VERSION=v1
export ENTRYPOINT_VERSION=v2

View File

@ -135,6 +135,8 @@ services:
restart: on-failure
volumes:
- postgresql-data:/var/lib/postgresql/data
# Backup Restore
#- zammad-backup:/var/tmp/zammad:ro
secrets:
- db_password

View File

@ -26,10 +26,5 @@ file_env() {
file_env "POSTGRESQL_PASS"
if [ "$1" == "zammad-backup" ];
then
bash -c "/usr/local/bin/backup.sh $@"
else
# https://github.com/zammad/zammad-docker-compose/blob/master/containers/zammad/docker-entrypoint.sh
bash -c "/docker-entrypoint.sh $@"
fi
# https://github.com/zammad/zammad/blob/develop/contrib/docker/docker-entrypoint.sh
bash -c "/docker-entrypoint.sh $@"