photoprism/setup/docker/windows/install.bat
Michael Mayer 00acfb5e45 Config: Increase wait time in install.bat file example #3509
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-13 13:57:22 +02:00

47 lines
No EOL
1.5 KiB
Batchfile

@echo off
Rem With Docker up and running, change to the directory where you want to install PhotoPrism,
Rem and then run the following commands in a terminal (command prompt) to download our
Rem configuration examples and start PhotoPrism on your local PC:
Rem
Rem curl.exe -o install.bat https://dl.photoprism.app/docker/windows/install.bat
Rem install.bat
echo If you don't have Docker installed yet, please follow this guide to download
echo and install Docker Desktop before you proceed:
echo:
echo https://docs.docker.com/desktop/install/windows-install/
timeout /t 10
echo Checking Docker version...
docker --version
docker compose version
echo Downloading config files...
curl.exe -o docker-compose.yml https://dl.photoprism.app/docker/windows/docker-compose.yml
curl.exe -o start.bat https://dl.photoprism.app/docker/windows/start.bat
curl.exe -o stop.bat https://dl.photoprism.app/docker/windows/stop.bat
curl.exe -o uninstall.bat https://dl.photoprism.app/docker/windows/uninstall.bat
dir
echo Pulling Docker images...
docker compose pull
echo Starting PhotoPrism and MariaDB...
docker compose up -d
timeout /t 20
echo You should now be able to log in with the user "admin" when navigating to the following URL:
echo:
echo http://localhost:2342/
echo:
echo The initial password is "insecure" or the value specified with PHOTOPRISM_ADMIN_PASSWORD in your
echo docker-compose.yml file. Please change it under Settings ^> Account before you proceed.
START http://localhost:2342/