photoprism/setup/docker/windows/uninstall.bat
Michael Mayer f225191659 Config: Update uninstall.bat Windows batch script #3509
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-13 14:07:08 +02:00

27 lines
379 B
Batchfile

@echo off
setlocal
:PROMPT
SET /P AREYOUSURE=Are you sure (Y/[N])?
IF /I "%AREYOUSURE%" NEQ "Y" GOTO END
echo Stopping PhotoPrism and MariaDB...
docker compose down -v
timeout /t 5
echo:
echo Removing Docker images...
docker compose rm -s -v
echo:
echo Removing config files...
del docker-compose.yml
del start.bat
del stop.bat
del install.bat
del update.bat
:END
endlocal