Files
Testing/tus-php/bin/clean.sh
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

16 lines
489 B
Bash

#!/bin/sh
ROOT_DIR=${ROOT_DIR-$(pwd)}
echo 'Stop and remove tus-php containers'
docker stop tus-php-server tus-php-client tus-php-redis 2> /dev/null
docker rm tus-php-server tus-php-client tus-php-redis 2> /dev/null
echo 'Remove tus-php docker network and images'
docker network rm tus-php-network 2> /dev/null
docker rmi tus-php_tus-server tus-php_tus-client tus-php-base 2> /dev/null
echo 'Remove and re-create uploads folder'
rm -rf ${ROOT_DIR}/uploads
mkdir -p ${ROOT_DIR}/uploads