Fix backup container
This commit is contained in:
parent
e69c5155b4
commit
63c6b6de53
@ -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
|
||||
|
||||
|
@ -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 $@"
|
||||
|
Loading…
Reference in New Issue
Block a user